Fix cypress test
This commit is contained in:
parent
b09d38a1f2
commit
40de116ad4
|
|
@ -57,6 +57,7 @@ const getOperations = ({ final, readOnly, classReadOnly = false }) => ({
|
|||
},
|
||||
},
|
||||
},
|
||||
UpdateAssignmentWithSuccess: {},
|
||||
});
|
||||
|
||||
describe('Assignments read-only - Student', () => {
|
||||
|
|
@ -70,7 +71,7 @@ describe('Assignments read-only - Student', () => {
|
|||
});
|
||||
cy.visit('module/module-with-assignment');
|
||||
|
||||
cy.get('.submission-form__textarea').as('textarea');
|
||||
cy.getByDataCy('submission-textarea').as('textarea');
|
||||
|
||||
cy.get('@textarea').invoke('val').should('contain', myText);
|
||||
cy.get('@textarea').clear().type('Hello');
|
||||
|
|
|
|||
Loading…
Reference in New Issue