Skip to content

Commit

Permalink
Fix lint and use standard timeout option
Browse files Browse the repository at this point in the history
  • Loading branch information
nwmac committed Jun 10, 2024
1 parent db51e81 commit 018f175
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/tests/pages/charts/monitoring-istio.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ describe('Charts', { tags: ['@charts', '@adminUser'] }, () => {

cy.intercept('POST', 'v1/catalog.cattle.io.clusterrepos/rancher-charts?action=install').as('chartInstall');
installChart.installChart();
cy.wait('@chartInstall', { requestTimeout: 60000 }).its('response.statusCode').should('eq', 201);
cy.wait('@chartInstall', LONG_TIMEOUT_OPT).its('response.statusCode').should('eq', 201);

terminal.waitForTerminalToBeVisible();
terminal.closeTerminal();
Expand Down
1 change: 0 additions & 1 deletion cypress/e2e/tests/pages/extensions/extensions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import RepositoriesPagePo from '@/cypress/e2e/po/pages/chart-repositories.po';
import PromptRemove from '@/cypress/e2e/po/prompts/promptRemove.po';
import BurgerMenuPo from '@/cypress/e2e/po/side-bars/burger-side-menu.po';
import { LoginPagePo } from '@/cypress/e2e/po/pages/login-page.po';
import { LONG_TIMEOUT_OPT } from '~/cypress/support/utils/timeouts';

const UNAUTHENTICATED_EXTENSION_NAME = 'uk-locale';
const EXTENSION_NAME = 'clock';
Expand Down

0 comments on commit 018f175

Please sign in to comment.