Skip to content

Commit

Permalink
Adapt behat tests
Browse files Browse the repository at this point in the history
Adapt some behat tests to make them work again
  • Loading branch information
David Bogner authored and David Bogner committed Dec 28, 2023
1 parent b222c16 commit bffa1d0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tests/behat/approve_entries.feature
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@mod @mod_datalynx @dev @_file_upload
Feature: In datalynx filter approved and not approved entries from multiple students
Feature: Filter approved and not approved entries from multiple students
In order to view approved and not approved entries
As teacher
I need to have a filter searching for approved and not approved entries
Expand Down Expand Up @@ -30,6 +30,7 @@ Feature: In datalynx filter approved and not approved entries from multiple stud
And I add to the "Datalynx Test Instance" datalynx the following fields:
| type | name | description | param1 | param2 | param3 |
| text | Text | | | | |
And I follow "More"
And I follow "Filters"
And I follow "Add a filter"
And I set the field "name" to "notapprovedfilter"
Expand Down
3 changes: 2 additions & 1 deletion tests/behat/customfilter_multiselect.feature
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Feature: Create entry, add multiselect and use customfilter

# Add me some fields.
When I follow "Browse"
And I wait "60" seconds
And I follow "Add a new entry"
And I fill in the entry form fields
| type | name | value |
Expand Down Expand Up @@ -94,7 +95,7 @@ Feature: Create entry, add multiselect and use customfilter

@javascript
Scenario: Use customfilter.
When I follow "Search"
When I follow "Search"
And I open the autocomplete suggestions list
Then "Opt2" "autocomplete_suggestions" should exist
And I click on "Opt2" item in the autocomplete list
Expand Down
2 changes: 1 addition & 1 deletion tests/behat/filter_tagstatus.feature.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#@mod @mod_datalynx @mod_peter @wip3 @mink:selenium2
#Feature:A Status Tag can be inserted into a view and should not throw any exceptions or failures during saving
#Feature:A status tag can be inserted into a view
#
# Background:
# Given the following "courses" exist:
Expand Down

0 comments on commit bffa1d0

Please sign in to comment.