Skip to content

Commit

Permalink
fix more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorisFokkinga committed Dec 4, 2024
1 parent 32bad5a commit f1a130d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ context('Consent on Material theme', () => {
.click()
.get('section h1')
.should('be.visible')
.and('contain.text', 'You don\'t want to share your data with the service');
.and('contain.text', 'You don\'t want to share your data with the application');

cy.get('div.slidein.reject')
.should('be.visible');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ context('WayfMouseBehaviour', () => {
// After filtering the search results, verify one result is visible
cy.countIdps(1).should('have.text', 'Connected IdP 4 en');

cy.onPage('Select an organisation to log in to the service');
cy.onPage('Select an organisation to log in to the application');
// Ensure some elements are NOT on the page
cy.notOnPage('Identity providers without access').should('not.exist');
cy.notOnPage('Remember my choice');
Expand All @@ -37,7 +37,7 @@ context('WayfMouseBehaviour', () => {

it('Should show the return to service link when configured', () => {
cy.visit('https://engine.vm.openconext.org/functional-testing/wayf?connectedIdps=5&backLink=true');
cy.onPage('Select an organisation to log in to the service');
cy.onPage('Select an organisation to log in to the application');
cy.onPage('Return to service provider');

// Ensure some elements are NOT on the page
Expand All @@ -52,7 +52,7 @@ context('WayfMouseBehaviour', () => {
it('Should show the remember my choice option', () => {
cy.visit('https://engine.vm.openconext.org/functional-testing/wayf?connectedIdps=5&rememberChoiceFeature=true');
// Ensure some elements are on the page
cy.onPage('Select an organisation to log in to the service');
cy.onPage('Select an organisation to log in to the application');
cy.onPage('Remember my choice');
// Ensure some elements are NOT on the page
cy.notOnPage('Identity providers without access');
Expand Down

0 comments on commit f1a130d

Please sign in to comment.