Skip to content

Commit

Permalink
Restored previously working browse specs
Browse files Browse the repository at this point in the history
Co-authored-by: Alisha Evans <[email protected]>
  • Loading branch information
2 people authored and LEARN Academy committed Feb 6, 2024
1 parent 5c01246 commit d309919
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cypress/e2e/browse.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ describe('Browsing', () => {
})

describe('from the browse page', () => {
beforeEach(() => {
cy.visit('/browse')
})

context('browse page is loading', () => {
before(() => {
loading = true
Expand Down Expand Up @@ -111,7 +115,7 @@ describe('Browsing', () => {
error = true
})

it.only('shows a disabled request form, with an error message.', () => {
it('shows a disabled request form, with an error message.', () => {
// TODO(alishaevn): why is the page loading instead of rendering?
cy.get("div[role='alert']").should('be.visible').then(() => {
cy.log('Successfully hits an error.')
Expand Down

0 comments on commit d309919

Please sign in to comment.