Function Then_I_do_not_see_testid

  • Then I do not see test ID:

    Then I do not see test ID {string}
    

    Asserts data-testid or data-test-id does not exist or is not visible in the screen:

    <div data-testid="test"></div>
    <div data-test-id="test"></div>

    Use this only if the other assertions don't work. data-testid or data-test-id don't resemble how your software is used and should be avoided if possible.

    Parameters

    • text: string
    • Optionaloptions: DataTable

    Returns void

    Then I do not see test ID "testID"
    

    With options:

    Then I do not see test ID "testID"
    | log | true |
    | timeout | 4000 |
    | withinSubject | null |
    | includeShadowDom | false |