Skip to content

Commit

Permalink
fix: cy test
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikmv committed Dec 12, 2024
1 parent ca17101 commit 22f2c8d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cypress/e2e/ScopeSelector/ScopeSelector.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import { defineStep as And, Given, Then, When } from '@badeball/cypress-cucumber-preprocessor';
import { getCurrentYear } from '../../support/date';

Given(/^you land on a enrollment page domain by having typed (.*)$/, (url) => {
cy.visit(url);
cy.get('[data-test="person-selector-container"]').contains('Person');
});

Given(/^you land on a enrollment page domain in Malaria focus investigation by having typed (.*)$/, (url) => {
cy.visit(url);
cy.get('[data-test="focus area-selector-container"]').contains('Focus area');
Expand Down

0 comments on commit 22f2c8d

Please sign in to comment.