Skip to content

Commit

Permalink
chore: rename duplicate step
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Jul 24, 2024
1 parent f2bcb0e commit 931cc35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions cypress/e2e/view/dashboard_filter.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,31 @@ Feature: Dashboard filter
Then the Period filter is applied to the dashboard

Scenario: I add a Organisation unit filter
Given I open existing dashboard
Given I open an existing dashboard
Then the dashboard displays in view mode
When I add a "Organisation unit" filter
Then the Organisation unit filter is applied to the dashboard

Scenario: I add a Facility Type filter
Given I open existing dashboard
Given I open an existing dashboard
Then the dashboard displays in view mode
When I add a "Facility Type" filter
Then the Facility Type filter is applied to the dashboard

Scenario: I add a Org unit group filter
Given I open existing dashboard
Given I open an existing dashboard
Then the dashboard displays in view mode
When I add a "Org unit group" filter
Then the Org unit group filter is applied to the dashboard

Scenario: I can access the dimensions modal from the filter badge
Given I open existing dashboard
Given I open an existing dashboard
When I add a "Period" filter
And I click on the "Period" filter badge
Then the filter modal is opened

Scenario: I delete a dashboard
Given I open existing dashboard
Given I open an existing dashboard
When I choose to edit dashboard
And I choose to delete dashboard
When I confirm delete
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/view/dashboard_filter/create_dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ When('I add items and save', () => {
)
})

Given('I open existing dashboard', () => {
Given('I open an existing dashboard', () => {
cy.get(dashboardChipSel, EXTENDED_TIMEOUT)
.contains(TEST_DASHBOARD_TITLE)
.click()
Expand Down

0 comments on commit 931cc35

Please sign in to comment.