0

Problem:
I'm currently creating my first synthetic tests in datadog. I'm encountering some difficulty testing whether a form field is disabled or not. I can't select disabled elements for assertions. This is the element I'm trying to select:

<input type="text" name="phoneNumber" id="phoneNumber" placeholder="" class="..." disabled="" inputmode="numeric" value="410 111 1111">

Form fields that are not disabled like this are selectable:

<input type="text" name="ssnLastFour" id="ssnLastFour" placeholder="" class="" inputmode="numeric" value="">

What I've tried:
When I click on the element in datadog's GUI after clicking on add an assertion, the pink outline appears around both of the above text fields (as in the image), but I can only click and select the second one. The disabled one cannot be selected.
datadog GUI prompt to add assertion
screenshot of disabled phone number field with pink outline

Question:
Has anyone else encountered this, and does anyone know of a workaround? Or is this not possible within synthetic testing? Thanks.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.