mirror of
https://github.com/UniversityOfHelsinkiCS/ohtuilmo.git
synced 2026-10-12 19:03:41 +03:00
Create e2e test for displaying all tags
This commit is contained in:
@@ -51,17 +51,22 @@ describe('Student tag page', () => {
|
||||
.should('include.text', 'Brand New Group')
|
||||
.should('include.text', 'testertester3')
|
||||
cy.get('.registration-details-container').should('exist')
|
||||
})
|
||||
|
||||
it('student tag page opens', () => {
|
||||
cy.get('#hamburger-menu-button')
|
||||
.click()
|
||||
.then(() => {
|
||||
cy.contains('Tags').click()
|
||||
})
|
||||
})
|
||||
|
||||
it('student tag page opens', () => {
|
||||
cy.contains('Tags').should('exist')
|
||||
})
|
||||
|
||||
it('student can see all available tags', () => {
|
||||
cy.contains('Coding').should('exist')
|
||||
cy.contains('Meeting').should('exist')
|
||||
})
|
||||
|
||||
after(() => {
|
||||
cy.deleteAllGroups()
|
||||
cy.deleteAllTags()
|
||||
|
||||
Reference in New Issue
Block a user