Skip to content

Commit fe7d033

Browse files
committed
test: assert the app menu item label on its aria-label
1 parent 97b503c commit fe7d033

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

e2e/cypress/e2e/projects/apps/appDashboardPage.cy.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ describe('project app dashboard page', () => {
4242
gcy('project-settings-apps-item-toggle').click();
4343
gcy('project-settings-apps-item-toggle').find('input').should('be.checked');
4444

45-
gcy('project-menu-item-app').should('contain', 'Home').click();
45+
gcy('project-menu-item-app')
46+
.should('have.attr', 'aria-label', 'Home')
47+
.click();
4648

4749
gcy('project-app-page-iframe')
4850
.should('have.attr', 'src', 'https://e2e-app.example.com/')

0 commit comments

Comments
 (0)