Skip to content

Commit

Permalink
test: fix visit datasets create page url
Browse files Browse the repository at this point in the history
  • Loading branch information
g-saracca committed Sep 19, 2024
1 parent 9f13c82 commit 3b33253
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ describe('Create Dataset', () => {
cy.findByRole('heading', { name: 'Root' }).should('exist')
})

it('redirects to the Log In page when the user is not authenticated', () => {
it.only('redirects to the Log In page when the user is not authenticated', () => {
cy.wrap(TestsUtils.logout())

cy.visit('/spa/datasets/create')
cy.visit('/spa/datasets/root/create')
cy.get('#login-container').should('exist')
cy.url().should('include', '/loginpage.xhtml')
})
Expand Down

0 comments on commit 3b33253

Please sign in to comment.