Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [M3-6627] - Fix cy.defer() TypeScript errors #9349

Merged
merged 7 commits into from
Jul 3, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename e2e.js to e2e.ts, replace cy.wrap with cy.defer
  • Loading branch information
Joe D'Amore committed Jun 30, 2023
commit 127716deeea320dab618662b48c0ef61096d9099
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// https://on.cypress.io/configuration
// ***********************************************************

// Import commands.js using ES2015 syntax:
import chaiString from 'chai-string';
import { authenticate } from './api/authentication';
import { deleteAllTestData } from './ui/common';
Expand All @@ -30,7 +29,7 @@ import './request-tracking';

// Runs before each test file.
before(() => {
cy.wrap(deleteAllTestData(), {
cy.defer(deleteAllTestData(), {
// Make sure there's enough time to accommodate retries when necessary.
timeout: 120000,
});
Expand Down