Skip to content

Commit

Permalink
chore: add cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikhaugstulen committed Aug 13, 2024
1 parent 8c771d0 commit 2ed2d8f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { Given, When, Then } from '@badeball/cypress-cucumber-preprocessor';

Given(/^you open the enrollment page by typing (.*)$/, url =>
cy.visit(url),
);

Given('you are on an enrollment page with stage available', () => {
cy.visit('/#/enrollment?programId=ur1Edk5Oe2n&orgUnitId=UgYg0YW7ZIh&teiId=zmgVvEZ91Kg&enrollmentId=xRnBV5aJDeF');
cy.get('[data-test="enrollment-page-content"]')
Expand Down

0 comments on commit 2ed2d8f

Please sign in to comment.