Skip to content

Commit

Permalink
fix: interim feedback spec
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed May 28, 2024
1 parent 0a3cf6a commit dd45cd3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cypress/integration/interimFeedback.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable cypress/unsafe-to-chain-command */
/// <reference types="Cypress" />

const { student, teacher, admin } = require('../fixtures/headers')
Expand Down Expand Up @@ -321,8 +322,6 @@ describe('Students', () => {
it('can view ongoing interim feedbacks and give interim feedback', () => {
cy.visit(`/feedbacks`)

cy.get('[data-cy="my-feedbacks-waiting-tab"]').should('exist').click()

cy.get('@interimFeedback').then(interimFeedback => {
cy.get(`[data-cy="feedback-item-${interimFeedback.id}"]`).should('exist').click()
})
Expand Down

0 comments on commit dd45cd3

Please sign in to comment.