Link

the __ instance of “__” should be disabled

Verifies that the nth match of the specified selector is disabled.

Pattern

^the (first|last|[0-9]+(?:th|st|rd|nd)) instance of "([^"]*)" should be disabled$

Parameters

Position Description Value Type Restrictions
1 field field id/name/label/selector  

Examples

Given I am on the "page3Results" page
Then the 2nd instance of "paginationButton" should be enabled
And the 3rd instance of "paginationButton" should be disabled