File tree Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -32,21 +32,6 @@ Selectize By Value
32
32
[Arguments] ${id } ${slug }
33
33
Execute Javascript return $('#${id } ').selectize()[0].selectize.setValue('${slug } ');
34
34
35
- Select Country
36
- [Documentation] Select the given value in a select list that is using selectize.js
37
- [Arguments] ${value }
38
- # We can't use "Select From List By Label" because
39
- # 1) it doesn't work with invisible elements (and selectize.js makes field invisible)
40
- # 2) selectize.js dynamically creates list of countries only when we're clicking on the field
41
- Click Element id=country-selectized
42
- ${countryOption } = Catenate SEPARATOR=/
43
- ... //*[contains(@class, "selectize-control")]
44
- ... *[contains(@class, "selectize-dropdown")]
45
- ... *[contains(@class, "selectize-dropdown-content")]
46
- ... *[contains(@class, "option") and text()="${value } "]
47
- Wait Until Page Contains Element xpath=${countryOption }
48
- Click Element xpath=${countryOption }
49
-
50
35
Country Field Should Have Option
51
36
[Documentation] Verify the selection of the select list that is using selectize.js
52
37
[Arguments] ${value }
Original file line number Diff line number Diff line change @@ -30,9 +30,8 @@ Create series by filling only required fields and providing a URL to image
30
30
Page Should Contain Image id=series-image-1
31
31
32
32
Create series by filling all fields
33
- [Tags] unstable
34
33
Select From List By Label id=category Sport
35
- Select Country Italy
34
+ Selectize By Value country italy
36
35
Input Text id=quantity 3
37
36
Unselect Checkbox id=perforated
38
37
Choose File id=image ${MAIN_RESOURCE_DIR }${/ } test.png
You can’t perform that action at this time.
0 commit comments