Skip to content

Commit

Permalink
browser spec updated
Browse files Browse the repository at this point in the history
  • Loading branch information
LEARN Academy authored and LEARN Academy committed Feb 8, 2024
1 parent 8d41406 commit 573bee6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cypress/e2e/browse.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,18 @@ describe('Navigating to the browse page', () => {
})
})

context.skip('as a logged in user', () => {
context.only('as a logged in user', () => {
before(() => {
// TODO(alishaevn): log in a user
})

it('shows a valid request form.', () => {
// TODO(alishaevn): write this spec
cy.get('form.rjsf').submit()
cy.scrollTo('bottom')
cy.get('button.btn-primary').click().then(() => {
cy.log('Successfully submits form.')
})
// - no error found
// submit button isn't disabled
})
Expand Down

0 comments on commit 573bee6

Please sign in to comment.