updated test script for home
This commit is contained in:
parent
1e56842282
commit
3d82e00518
|
|
@ -52,4 +52,14 @@ describe('Homepage', () => {
|
|||
.its('request.url')
|
||||
.should('contain', 'limit=10&offset=10')
|
||||
})
|
||||
|
||||
it('should display popular tags in home page', () => {
|
||||
cy.visit(ROUTES.HOME)
|
||||
cy.wait('@getTags')
|
||||
|
||||
cy.contains('Popular Tags')
|
||||
.parent('.popular-tags')
|
||||
.find('.tag-pill')
|
||||
.should('have.length', 8)
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue