This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it.only('Can add items to a previously saved quiz', () => { | |
cy.route('GET', '**/quizapi/quizzes/*', '@quizUnpublished').as('getQuiz'); | |
cy.route('POST', '**/quizapi/items/query', { data: [] }).as('getItems'); | |
cy.route('POST', '**/qtmongo/items/query', '@items').as('getAllItems'); | |
cy.route('PATCH', '**/quizapi/quizzes', { | |
data: [{ reference: 'qz100369' }] | |
}).as('patchQuiz'); | |
cy.visit(quizzesPath); | |
cy.wait('@getQuizzes'); | |
cy.get(':nth-child(2) > .datatable-body-row').click(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Edit Quiz | |
1) Can add items to a previously saved quiz | |
0 passing (13s) | |
1 failing | |
1) Edit Quiz Can add items to a previously saved quiz: | |
CypressError: Timed out retrying: Expected to find element: ':nth-child(1) > .datatable-body-row > .datatable-row-center > [style="width: 46.8333px; max-width: 50px; height: 88px;"] > .datatable-body-cell-label > .datatable-checkbox > input', but never found it. | |
at Object.cypressErr (https://localhost.achievementnetwork.org:4200/__cypress/runner/cypress_runner.js:63751:11) |
OlderNewer