Skip to content

Commit 575e91f

Browse files
committed
fix loading and error test
1 parent c0c47a7 commit 575e91f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cypress/e2e/home.cy.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ describe('Viewing Home page', () => {
2626
before(() => {
2727
loading = true
2828
})
29-
it('should show a loading spinner.', () => {
30-
cy.get("[aria-label='tail-spin-loading']").should('be.visible').then(() => {
31-
cy.log('Loading spinner displays correctly.')
29+
it('should show 3 placeholder cards loading', () => {
30+
cy.get('p.placeholder-glow').should('be.visible').then(() => {
31+
cy.log('Loading text displays correctly.')
3232
})
3333
})
3434
})

0 commit comments

Comments
 (0)