-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR fixes a couple of issues with the e2e tests we've been experiencing lately (and also upgrades Playwrght to the latest stable version). Changes made: * NFT collection that we checked in the test had slight change in it's name, the tests were updated to expect the new name * Sometimes tests creating new wallets were failing during seed phrase verification because Playwright was saving the seed phrase before it was displayed. We've added a step that checks if the seed phrase is displayed before proceeding further. * We've upgraded to latest version of Playwright to have access to some debug functionalities not available in the version we used before * We've changed a locator identifying `Select token` element, because it stopped working after upgrading to newer Playwright version * We've changed a RegEx checking the format of the date of a transaction, because it looks that one of the space characters used in the date had changed from no-break space to a regular space. * We've temporarily marked a step checking behavior after SIWE in the `signing.spec.ts` as expected to fail because of the bug on `login.xyz`. Playwright will treat the test as passing when the step fails and will mark the test as failed if the step passes. Latest build: [extension-builds-3651](https://github.com/tahowallet/extension/suites/18118417480/artifacts/1044503438) (as of Sun, 12 Nov 2023 12:32:55 GMT).
- Loading branch information
Showing
10 changed files
with
73 additions
and
80 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3425,15 +3425,12 @@ | |
picocolors "^1.0.0" | ||
tslib "^2.6.0" | ||
|
||
"@playwright/test@^1.31": | ||
version "1.31.0" | ||
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.31.0.tgz#bde42ca06804164be54893525110adda946248d6" | ||
integrity sha512-Ys5s/06Dg9g3zAIdCIb/UOBYim3U7Zjb3DvC6XBtnRmnglH5O47iwYzmtxXu9fhSyzI2Jn28apkXIOD81GgCdw== | ||
"@playwright/test@^1.39": | ||
version "1.39.0" | ||
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.39.0.tgz#d10ba8e38e44104499e25001945f07faa9fa91cd" | ||
integrity sha512-3u1iFqgzl7zr004bGPYiN/5EZpRUSFddQBra8Rqll5N0/vfpqlP9I9EXqAoGacuAbX6c9Ulg/Cjqglp5VkK6UQ== | ||
dependencies: | ||
"@types/node" "*" | ||
playwright-core "1.31.0" | ||
optionalDependencies: | ||
fsevents "2.3.2" | ||
playwright "1.39.0" | ||
|
||
"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": | ||
version "1.1.2" | ||
|
@@ -13018,10 +13015,19 @@ pkg-dir@^4.1.0, pkg-dir@^4.2.0: | |
dependencies: | ||
find-up "^4.0.0" | ||
|
||
[email protected]: | ||
version "1.31.0" | ||
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.31.0.tgz#dbd184771535e76c6743ef5c082def5564f07e85" | ||
integrity sha512-/KquBjS5DcASCh8cGeNVHuC0kyb7c9plKTwaKxgOGtxT7+DZO2fjmFvPDBSXslEIK5CeOO/2kk5rOCktFXKEdA== | ||
[email protected]: | ||
version "1.39.0" | ||
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.39.0.tgz#efeaea754af4fb170d11845b8da30b2323287c63" | ||
integrity sha512-+k4pdZgs1qiM+OUkSjx96YiKsXsmb59evFoqv8SKO067qBA+Z2s/dCzJij/ZhdQcs2zlTAgRKfeiiLm8PQ2qvw== | ||
|
||
[email protected]: | ||
version "1.39.0" | ||
resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.39.0.tgz#184c81cd6478f8da28bcd9e60e94fcebf566e077" | ||
integrity sha512-naE5QT11uC/Oiq0BwZ50gDmy8c8WLPRTEWuSSFVG2egBka/1qMoSqYQcROMT9zLwJ86oPofcTH2jBY/5wWOgIw== | ||
dependencies: | ||
playwright-core "1.39.0" | ||
optionalDependencies: | ||
fsevents "2.3.2" | ||
|
||
portfinder@^1.0.17: | ||
version "1.0.28" | ||
|