diff --git a/packages/frontend-shared/src/gql-components/HeaderBarContent.vue b/packages/frontend-shared/src/gql-components/HeaderBarContent.vue index 72b23192b213..fa5be39dd581 100644 --- a/packages/frontend-shared/src/gql-components/HeaderBarContent.vue +++ b/packages/frontend-shared/src/gql-components/HeaderBarContent.vue @@ -26,7 +26,9 @@
  • + + { it('updates breadcrumb when selecting a project and navigating back', () => { const getBreadcrumbLink = (name: string, options: { disabled: boolean } = { disabled: false }) => { - return cy.findByRole('link', { name }).should('have.attr', 'aria-disabled', options.disabled ? 'true' : 'false') + // The timeout is increased to account for variability in configuration load times in CI. + return cy.findByRole('link', { name, timeout: 10000 }).should('have.attr', 'aria-disabled', options.disabled ? 'true' : 'false') } const resetSpies = () => { diff --git a/system-tests/projects/todos/cypress/support/component-index.html b/system-tests/projects/todos/cypress/support/component-index.html new file mode 100644 index 000000000000..ac6e79fd83df --- /dev/null +++ b/system-tests/projects/todos/cypress/support/component-index.html @@ -0,0 +1,12 @@ + + + + + + + Components App + + +
    + + \ No newline at end of file