diff --git a/cypress/e2e/view/dashboard_filter.feature b/cypress/e2e/view/dashboard_filter.feature index aa573e94e..908291d68 100644 --- a/cypress/e2e/view/dashboard_filter.feature +++ b/cypress/e2e/view/dashboard_filter.feature @@ -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 diff --git a/cypress/e2e/view/dashboard_filter/create_dashboard.js b/cypress/e2e/view/dashboard_filter/create_dashboard.js index 480638042..45e9ea960 100644 --- a/cypress/e2e/view/dashboard_filter/create_dashboard.js +++ b/cypress/e2e/view/dashboard_filter/create_dashboard.js @@ -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()