shouldBeVisible | options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | Checks if the element exists and is visible |
shouldExist | options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | Checks if the element exists |
shouldNotBeVisible | options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | Checks if the element exists but is not visible |
shouldNotExist | options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | Checks if the element does not exist |
shouldHaveText | value | string | Checks if the element's inner text contains a given string |
| options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldNotHaveText | value | string | Checks if the element's inner text does not contain a given string |
| options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldHaveExactText | value | string | Checks if the element's inner text is equal to a given string |
| options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldNotHaveExactText | value | string | Checks if the element's inner text is not equal to a given string |
| options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldHaveValue | value | string | Checks if the element's value contains a given string |
| options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldNotHaveValue | value | string | Checks if the element's value does not contain a given string |
| options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldBeEnabled | options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | Checks if the element doesn't have a disabled attribute |
shouldBeDisabled | options? | { index?: number, timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | Checks if the element has a disabled attribute |
shouldBeRequired | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | Checks if the field is mandatory |
shouldNotBeRequired | options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | Checks if the field is not mandatory |
shouldHaveValidationType | validationType | string | Checks if the element's validation type is equal to a given one |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldNotHaveValidationType | validationType | string | Checks if the element's validation type is not equal to a given one |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldHaveSelectedItem | value | string | Checks if the element's value contains a given string |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldNotHaveSelectedItem | value | string | Checks if the element's value does not contain a given string |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldHaveAttributeSelected | value | string | Checks if the element's option has a selected attribute |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldNotHaveAttributeSelected | value | string | Checks if the element's option does not have a selected attribute |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldHaveSuggestedItems | values | string[] | Checks if the element's options contain the list of values (as values of the value attribute); order is not considered |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldNotHaveSuggestedItems | values | string[] | Checks if the element's options does not contain the list of values (as values of the value attribute) |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldOnlyHaveSuggestedItems | values | string[] | Checks if the element's options contain only the list of values (as values of the value attribute); order is not considered |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldHaveSuggestedItemsByInnerText | values | string[] | Checks if the element's options contain the list of values (as inner text); order is not considered |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldNotHaveSuggestedItemsByInnerText | values | string[] | Checks if the element's options do not contain the list of values (as inner text) |
shouldHaveInnerTextPerOptionValue | optionValue | string | Checks if the element's option contain a particular combination of value of the value attribute and inner text |
| innerText | string | |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldNotHaveInnerTextPerOptionValue | optionValue | string | Checks if the element's option does not contain a particular combination of value of the value attribute and inner text |
| innerText | string | |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |
shouldHaveInnerTextsPerOptionValues | optionValues | string[] | Checks if the element's option list contain a particular combination of values of the value attribute and inner texts |
| innerTexts | string[] | |
| options? | { timeout?: number, assertionTimeout?: number, interval?: number, retries?: number } | |