Skip to content

Commit

Permalink
chore: fix test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
sjschlapbach committed Sep 15, 2024
1 parent 07d7480 commit e4f7188
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress/cypress/e2e/G-microlearning-workflow.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ describe('Different microlearning workflows', () => {
cy.get('[data-cy="next-or-submit"]').should('not.be.disabled')

// add displayname and description to stacks
// TODO: extend test with description as soon as these fields work
const title1 = 'Stack 1 Description Title'
const title2 = 'Stack 2 Description Title'
cy.get('[data-cy="open-stack-0-description"]').click()
Expand Down Expand Up @@ -308,6 +307,8 @@ describe('Different microlearning workflows', () => {
cy.findByText(microLearningDisplayName).click()
cy.get('[data-cy="start-microlearning"]').click()
cy.get('[data-cy="sc-1-answer-option-1"]').click()
cy.get('[data-cy="practice-quiz-stack-submit"]').should('be.disabled')
cy.get('[data-cy="free-text-input-2"]').click().type('Free text answer')
cy.get('[data-cy="practice-quiz-stack-submit"]').click()
cy.get('[data-cy="practice-quiz-continue"]').click()

Expand Down

0 comments on commit e4f7188

Please sign in to comment.