-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cypress-harness): fix cypress harness chaining issue with Cypress 12
Since Cypress 12, `invoke()` doesn't wait for promises to resolve and just returns the promise as is. This was fixed by using `then()` instead. Harness usage without chaining was not affected. i.e. `getHarness(...).then(harness => harness.selectCell(42))`. Cf. https://docs.cypress.io/guides/references/changelog#12-0-0 Cf. cypress-io/cypress#24417 Closes #232
- Loading branch information
Showing
4 changed files
with
42 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters