File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 1+ Feature : Dropdown
2+
3+ Scenario : dropdown cascade
4+ Given I am on "form-control/dropdown-plus.php"
5+ Then I select value "Beverages" in lookup "category_id"
6+ Then I select value "Sugar/Sweetened" in lookup "sub_category_id"
7+ Then I select value "Soda" in lookup "product_id"
8+ When I click using selector "(//div[text()='Save'])[2]"
9+ Then Modal is open with text '{ "category_id": "2", "sub_category_id": "9", "product_id": "4" }' in selector "p"
10+ Then I click close modal
11+ Then I should see "Soda"
12+ Then I select value "Coffee and Tea" in lookup "sub_category_id"
13+ Then I should not see "Soda"
14+ Then I should not see "Cola"
15+ Then I should not see "No results found."
16+ When I click using selector "//div.field[label[text()='Product ID']]//div.ui.dropdown"
17+ Then I should see "No results found."
You can’t perform that action at this time.
0 commit comments