Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cypress/e2e/ScopeSelector/ScopeSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ And('you see the enrollment event Edit page but there is no org unit id in the u

And('you see the enrollment event New page but there is no stage id in the url', () => {
cy.url().should('eq', `${Cypress.config().baseUrl}/#/enrollmentEventNew?enrollmentId=Aemr3Q02aqV&orgUnitId=DiszpKrYNg8&programId=ur1Edk5Oe2n&teiId=eUTmQGull6H`);
cy.contains('Choose a stage for a new event');
cy.contains('Choose a program stage for a new event');
});

And('you see the enrollment page without org unit in the url', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { When, Then } from '@badeball/cypress-cucumber-preprocessor';
const timeStamp = Math.round((new Date()).getTime() / 1000);

Then('the stages and events should be loaded', () => {
cy.contains('Stages and Events').should('exist');
cy.contains('Program stages and events').should('exist');
});

When(/^you fill in the note: (.*)$/, (note) => {
Expand Down
Loading
Loading