Skip to content

Commit

Permalink
Give more timeout time for E2E tests
Browse files Browse the repository at this point in the history
As it seems that the test runner is
too slow.
  • Loading branch information
danburonline committed Dec 1, 2023
1 parent 64b0ab6 commit ffedcbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/e2e/Resources.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ describe('Studios', () => {
// Click the "Deprecate" button
cy.get('button')
.contains('Deprecate', {
timeout: 1000, // Just in case for the popover to appear
timeout: 2000, // Just in case for the popover to appear
})
.click();

// Click the "Yes" button in the popover
cy.get('.ant-popover-buttons > .ant-btn-primary').click();

// Just ot be sure that the page has been refreshed
cy.wait(1000);
cy.wait(2000);

// Check if the deprecation message is displayed
cy.contains('This resource is deprecated and not modifiable.');
Expand All @@ -99,7 +99,7 @@ describe('Studios', () => {
cy.get('.ant-alert-message > div > .ant-btn').click();

// Just ot be sure that the page has been refreshed
cy.wait(1000);
cy.wait(2000);

// Click the "Advanced View" collapse header
cy.get('.ant-collapse-header')
Expand Down

0 comments on commit ffedcbd

Please sign in to comment.