Update cypress test that was no longer correct

This commit is contained in:
Ramon Wenger 2024-05-15 11:28:50 +02:00
parent f45be78ac6
commit b74ff20e50
1 changed files with 2 additions and 2 deletions

View File

@ -104,9 +104,9 @@ describe('Assignment in Module', () => {
cy.getByDataCy('submission-textarea').should('not.have.class', 'submission-form__textarea--readonly');
});
it('does not see assignment input on mobile', () => {
it('does see assignment input on mobile', () => {
cy.viewport('iphone-8');
cy.getByDataCy('submission-textarea').should('not.be.visible');
cy.getByDataCy('submission-textarea').should('be.visible').type('Hello World');
});
it('types into the submission input and does not react to server returning something in the submission response', () => {