1 | ## Methods for combining actions and assertions
|
2 |
|
3 | | Method name | Args |
|
4 | | --- | --- |
|
5 | | appendInputFieldValue | (value, locatorKey) |
|
6 | | appendReactInputFieldValue | (text, locatorKey) |
|
7 | | clearInputFieldValue | (locatorKey) |
|
8 | | clickElement | (locatorKey) |
|
9 | | disableAnimations | none |
|
10 | | goToPage | (pageName) |
|
11 | | pressKey | (key) |
|
12 | | setCookie | (name, value) |
|
13 | | setInputFieldValue | (locatorKey, value) |
|
14 | | setReactInputFieldValue | (locatorKey, text) |
|
15 | | setSelectValueByOptionText | (locatorKey, itemText) |
|
16 | | submitForm | (locatorKey) |
|
17 | | checkAttribute | (locatorKey, expectedAttribute, expectedValue) |
|
18 | | hasClass | (locatorKey, className) |
|
19 | | doesNotHaveClass | (locatorKey, className) |
|
20 | | checkColour | (locatorKey, expectedColour, property) |
|
21 | | checkContainsAnyText | (locatorKey) |
|
22 | | checkDoesNotContainAnyText | (locatorKey) |
|
23 | | checkContainsText | (locatorKey, expectedText) |
|
24 | | checkDoesNotContainText | (locatorKey, expectedText) |
|
25 | | checkCookieContains | (cookieName, expectedValue) |
|
26 | | checkCookieDoesNotContain | (cookieName, expectedValue) |
|
27 | | checkCookieContent | (cookieName, expectedValue) |
|
28 | | checkCookieValueIsNot | (cookieName, expectedValue) |
|
29 | | checkCookieExists | (cookieName) |
|
30 | | checkCookieDoesNotExist | (cookieName) |
|
31 | | checkElementBackgroundColour | (locatorKey, expectedColour) |
|
32 | | checkElementBorderColour | (position, locatorKey, expectedColour) |
|
33 | | checkElementColour | (locatorKey, expectedColour) |
|
34 | | checkElementExists | (locatorKey) |
|
35 | | checkElementDoesNotExist | (locatorKey) |
|
36 | | checkElementExistsNTimes | (locatorKey, count) |
|
37 | | checkElementDoesNotExistNTimes | (locatorKey, count) |
|
38 | | checkEventualUrlFromPOM | (pageName) |
|
39 | | checkFocus | (locatorKey) |
|
40 | | checkInputIsEmpty | (locatorKey) |
|
41 | | checkInputIsNotEmpty | (locatorKey) |
|
42 | | checkInputValue | (locatorKey, expectedValue) |
|
43 | | checkInputValueIsNot | (locatorKey, expectedValue) |
|
44 | | checkIsEnabled | (locatorKey) |
|
45 | | checkIsDisabled | (locatorKey) |
|
46 | | checkIsOpenedInNewWindow | (href) |
|
47 | | checkIsSelected | (locatorKey) |
|
48 | | checkIsDeselected | (locatorKey) |
|
49 | | checkTitle | (expectedTitle) |
|
50 | | checkTitleIsNot | (expectedTitle) |
|
51 | | checkUrlIs | (url) |
|
52 | | checkUrlIsNot | (url) |
|
53 | | checkUrlContainsString | (expectedUrlPart) |
|
54 | | checkVisible | (locatorKey) |
|
55 | | checkHidden | (locatorKey) | |
\ | No newline at end of file |