chore: rename js files to ts
This commit is contained in:

committed by
Gitea

parent
7fe9f17e43
commit
321850ec20
16
cypress/e2e/user/logout.spec.ts
Normal file
16
cypress/e2e/user/logout.spec.ts
Normal file
@ -0,0 +1,16 @@
|
||||
import '../../support/authenticateUser'
|
||||
|
||||
describe('Log out', () => {
|
||||
it('Logs the user out', () => {
|
||||
cy.visit('/')
|
||||
|
||||
cy.get('.navbar .user .username')
|
||||
.click()
|
||||
cy.get('.navbar .user .dropdown-menu .dropdown-item')
|
||||
.contains('Logout')
|
||||
.click()
|
||||
|
||||
cy.url()
|
||||
.should('contain', '/login')
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user