File tree 2 files changed +11
-11
lines changed
2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -36,14 +36,3 @@ Before Test Suite
36
36
37
37
Before Test
38
38
Go To ${SITE_URL } /country/add
39
-
40
- Country Field Should Have Option
41
- [Documentation] Verify the selection of the select list that is using selectize.js
42
- [Arguments] ${value }
43
- # We can't use "List Selection Should Be" because
44
- # 1) it doesn't work with invisible elements (and selectize.js makes field invisible)
45
- # 2) selectize.js dynamically creates list of countries only when we're clicking on the field
46
- Click Element id=country-selectized
47
- ${dropdownXpath } = Set Variable //*[contains(@class, "selectize-dropdown-content")]
48
- Wait Until Page Contains Element xpath=${dropdownXpath } /*[contains(@class, "option")]
49
- Xpath Should Match X Times xpath=${dropdownXpath } /*[text() = "${value } "] expectedXpathCount=1
Original file line number Diff line number Diff line change @@ -39,6 +39,17 @@ Select Country
39
39
Wait Until Page Contains Element xpath=${countryOption }
40
40
Click Element xpath=${countryOption }
41
41
42
+ Country Field Should Have Option
43
+ [Documentation] Verify the selection of the select list that is using selectize.js
44
+ [Arguments] ${value }
45
+ # We can't use "List Selection Should Be" because
46
+ # 1) it doesn't work with invisible elements (and selectize.js makes field invisible)
47
+ # 2) selectize.js dynamically creates list of countries only when we're clicking on the field
48
+ Click Element id=country-selectized
49
+ ${dropdownXpath } = Set Variable //*[contains(@class, "selectize-dropdown-content")]
50
+ Wait Until Page Contains Element xpath=${dropdownXpath } /*[contains(@class, "option")]
51
+ Xpath Should Match X Times xpath=${dropdownXpath } /*[text() = "${value } "] expectedXpathCount=1
52
+
42
53
Link Should Point To
43
54
[Documentation] Verify that "href" attribute of the element refers to a link
44
55
[Arguments] ${locator } ${expectedUrl }
You can’t perform that action at this time.
0 commit comments