Skip to content

Commit

Permalink
#2462 - testing possible fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rmmayo authored and EVOFORGE\dimay committed Dec 22, 2023
1 parent 2f47063 commit 48d5c27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ describe('Quiz CRUD Tests', () => {
cy.visit('/administrator/quizzes')
cy.get('[data-cy="btn_Quizzes And Surveys"]').click()

cy.get('[data-cy="quizName"]').type(providedName)
cy.get('[data-cy="quizName"]').type(providedName, { delay: 100 })
cy.get('[data-cy="idInputValue"]').should('have.value', expectedId)

cy.get('[data-cy="saveQuizButton"]').click()
Expand All @@ -391,7 +391,7 @@ describe('Quiz CRUD Tests', () => {
// id is not derived from name during edit
cy.get(`[data-cy="editQuizButton_${expectedId}"]`).click()
cy.get('[data-cy="idInputValue"]').should('have.value', expectedId)
cy.get('[data-cy="quizName"]').type('More')
cy.get('[data-cy="quizName"]').type('More', { delay: 100 })
cy.get('[data-cy="idInputValue"]').should('have.value', expectedId)
});

Expand Down
8 changes: 4 additions & 4 deletions e2e-tests/cypress/e2e/skills-display-integration_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ describe('Navigation Tests', () => {

// to subject page
cy.dashboardCdClickSubj(0, 'Subject 1');
cy.wait(500);
cy.wait(1000);

// navigate to Rank Overview and that it does NOT contains the internal back button
cy.dashboardCd()
Expand All @@ -111,19 +111,19 @@ describe('Navigation Tests', () => {
// click the browser back button and verify that we are still in the
// client display (Subject page)
cy.go('back'); // browser back button
cy.wait(500);
cy.wait(1000);
cy.dashboardCd()
.contains('Subject 1');

// then back one more time and we should be back on the client display home page
cy.go('back'); // browser back button
cy.wait(500);
cy.wait(1000);
cy.dashboardCd()
.contains('PROJECT: This is project 1');

// finally back one more time and we should be back on the my progress page
cy.go('back'); // browser back button
cy.wait(500);
cy.wait(1000);
cy.get('[data-cy="breadcrumb-Progress And Rankings"]')
.contains('Progress And Rankings')
.should('be.visible');
Expand Down

0 comments on commit 48d5c27

Please sign in to comment.