Skip to content

Commit

Permalink
Fix resource preview selector (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
operramon authored Jan 17, 2025
1 parent 59ef9b3 commit 202f4ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/1-basic/resources.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ describe('Resources', () => {
it('should allow to preview', () => {
cy.contains('Lamarr Lesson plan.pdf').click();
cy.get('.edit-resource > header').should('contain', 'Lamarr Lesson plan.pdf');
cy.get('.edit-resource .main-container .paragraph-container').should('contain', 'Lamarr Lesson plan.pdf');
cy.get('.edit-resource .main-container .resource-container').should('contain', 'Lamarr Lesson plan.pdf');
cy.get('.edit-resource nav li:not(.active):first').click();
cy.get('.edit-resource .main-container').should('contain', 'Hedy Lamarr, An Inventive Mind');
});
Expand Down

0 comments on commit 202f4ba

Please sign in to comment.