Skip to content

Commit

Permalink
fix "</button> is not clickable at point (527, 554). Other element wo…
Browse files Browse the repository at this point in the history
…uld receive the click: <input class="search form-control mb-2 filtersearch" name="filtersearch-teacherobjects""
  • Loading branch information
semteacher committed Jul 9, 2024
1 parent 7efe54d commit 78f5889
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions tests/behat/booking_list_filtering.feature
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,21 @@ Feature: In a booking - create options and filter it
## And I press "Filter table"
And I click on "Filter table" "button" in the ".allbookingoptionstable.wunderbyte_table_filter_on" "css_element"
## Filtering by teacher
And I click on "Teachers" "text" in the ".allbookingoptionstable .wunderbyteTableFilter" "css_element"
And I click on "Teachers" "button"
## And I click on "Teachers" "text" in the ".allbookingoptionstable .wunderbyteTableFilter" "css_element"
And I should see "2, Teacher" in the ".allbookingoptionstable .wunderbyteTableFilter" "css_element"
And I set the field "2, Teacher" in the ".allbookingoptionstable .wunderbyteTableFilter" "css_element" to "checked"
And I should see "Teacher 2" in the ".allbookingoptionstable_r1" "css_element"
And "//div[contains(@class, 'allbookingoptionstable_r2')]" "xpath_element" should not exist
And I set the field "2, Teacher" in the ".allbookingoptionstable .wunderbyteTableFilter" "css_element" to ""
And I should see "Teacher 3" in the ".allbookingoptionstable_r3" "css_element"
## Hide filter - required for a new filter tool
And I click on "Teachers" "text" in the ".allbookingoptionstable .wunderbyteTableFilter" "css_element"
And I click on "Teachers" "button"
##And I wait "22" seconds
##And I click on "Teachers" "text" in the ".allbookingoptionstable .wunderbyteTableFilter" "css_element"
## Filtering by timespan
And I click on "Course time" "text" in the ".allbookingoptionstable .wunderbyteTableFilter" "css_element"
And I click on "Course time" "button"
## And I click on "Course time" "text" in the ".allbookingoptionstable .wunderbyteTableFilter" "css_element"
## TODO: actual dates has been set as -1 day for some reason (same as in wb_table).
And I set the following fields to these values:
| date-coursestarttime | 2044-05-17 |
Expand All @@ -72,4 +76,5 @@ Feature: In a booking - create options and filter it
And I should see "Option - Teacher1" in the ".allbookingoptionstable_r1" "css_element"
And I should see "Option - Teacher2" in the ".allbookingoptionstable_r2" "css_element"
## Hide filter - required for a new filter tool
And I click on "Course time" "text" in the ".allbookingoptionstable .wunderbyteTableFilter" "css_element"
And I click on "Course time" "button"
## And I click on "Course time" "text" in the ".allbookingoptionstable .wunderbyteTableFilter" "css_element"

0 comments on commit 78f5889

Please sign in to comment.