Skip to content

Commit

Permalink
feat: update cypress fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
tomzemp committed Jan 15, 2025
1 parent a52cab0 commit 88770a8
Show file tree
Hide file tree
Showing 11 changed files with 653 additions and 110 deletions.
26 changes: 12 additions & 14 deletions cypress/e2e/user/search-users.feature
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
Feature: The user list can be searched

# SKIPPED because of search problems (7 Jan 2025)
# Scenario: The user list gets filtered by name
# Given some users exist
# And the user-manager navigated to the user list view
# When the user-manager searches the list by entering a name
# Then only the users whose username or display name contains the search term should be displayed
Scenario: The user list gets filtered by name
Given some users exist
And the user-manager navigated to the user list view
When the user-manager searches the list by entering a name
Then only the users whose username or display name contains the search term should be displayed

# Scenario: The user list gets filtered by organisation unit
# Given some users exist
Expand All @@ -25,14 +24,13 @@ Feature: The user list can be searched
# When the user-manager chooses to view only self-registered users
# Then only the users who have registered themselves should be displayed

# SKIPPED because of search problems (7 Jan 2025)
# Scenario: The user-manager returns to the search results after opening the edit form
# Given some users exist
# And the user-manager navigated to the user list view
# And the user-manager filtered the list
# When the user-manager edits one of the displayed users
# And returns to the list view without saving
# Then the previously applied search should still be applied
Scenario: The user-manager returns to the search results after opening the edit form
Given some users exist
And the user-manager navigated to the user list view
And the user-manager filtered the list
When the user-manager edits one of the displayed users
And returns to the list view without saving
Then the previously applied search should still be applied

# Scenario: The user-manager returns to the search results after editing a user
# Given some users exist
Expand Down

Large diffs are not rendered by default.

126 changes: 81 additions & 45 deletions cypress/fixtures/network/42/static_resources.json

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions cypress/fixtures/network/42/summary.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"count": 348,
"totalResponseSize": 258639,
"duplicates": 274,
"nonDeterministicResponses": 22,
"count": 398,
"totalResponseSize": 309677,
"duplicates": 307,
"nonDeterministicResponses": 24,
"apiVersion": "42",
"fixtureFiles": [
"static_resources.json",
Expand All @@ -11,6 +11,7 @@
"user_groups_can_be_listed.json",
"the_user_group_list_can_be_searched.json",
"users_can_be_listed.json",
"the_user_list_can_be_searched.json",
"user_roles_can_be_listed.json",
"the_user_role_list_can_be_searched.json"
]
Expand Down
10 changes: 5 additions & 5 deletions cypress/fixtures/network/42/the_app_has_a_main_navigation.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

508 changes: 508 additions & 0 deletions cypress/fixtures/network/42/the_user_list_can_be_searched.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions cypress/fixtures/network/42/user_groups_can_be_listed.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions cypress/fixtures/network/42/user_roles_can_be_listed.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions cypress/fixtures/network/42/users_can_be_listed.json

Large diffs are not rendered by default.

0 comments on commit 88770a8

Please sign in to comment.