cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help with content validation not working

PeteBush
Frequent Guest

Hi, I'm trying to check the status of two components on the Hashicorp status page, HCP Terraform and Terraform Registry.

I've created a synthetic script and want to check if the status of either is "outage" but not "minor outage".

To get round this I'm searching on DOM for the element... 

<div data-component-id="7cgbxrw10wgr" class="component-inner-container status-green " data-component-status="operational" data-js-hook="">

I'm using the operational status as a test, but it's not being detected no matter what I try.

I think it may be related to the double quotes but examples in docs seem to suggest they are acceptable without any escaping.

Anyone have any ideas? 

Thanks

2 REPLIES 2

Hi Pete,

What did you select in"Amount of time to wait before the next event is triggered" field?

erh_inetum_0-1728881831214.png

Maybe trying with the two last to options could be work. Have you tested it?

Hope it helps.

Regards,

Elena.

Hi Elena, thank you for responding. I tried your suggestion but that didn't work either, I think the way the page is set up DT isn't seeing DOM properly.

Regards

Pete

Featured Posts