[ENG-3999] Onboarding part 2 (#184)

* Add storage seedphrase
* add 12 word seedphrase error message check
* add error message check for 24 word seedphrase
* optimize code, add switch 12 to 24 seedphrase test case
* add confirm address copy and save address in file
* [ENG-4031] Implement Sharding for test execution
* Add Lock and login flow
* Added attributes to elements in the homedashboard for better locators
* fix: prefer data-testid over id, and aria-label for options button
* Use static method (#187)
* [ENG-3979] Implement Smoketest execution for PR build
---------

Co-authored-by: DuskaT021 <aleksa2601@gmail.com>
Co-authored-by: Tim Man <tim@secretkeylabs.com>
Co-authored-by: Eduard Bardají Puig <ebardaji@gmail.com>
This commit is contained in:
Christine Pinto
2024-04-15 14:34:01 +02:00
committed by GitHub
parent 708032d15a
commit d2425efbf5
15 changed files with 583 additions and 120 deletions

View File

@@ -9,9 +9,10 @@ export const test = baseTest.extend<{
}>({
// parts of the setup for the persistent context from https://playwright.dev/docs/chrome-extensions#testing
context: async ({}, use) => {
const extPath = path.join(__dirname, '../../build');
const extPath = process.env.BUILD_EXTENSION_PATH || path.join(__dirname, '../../build');
const context = await chromium.launchPersistentContext('', {
args: [`--disable-extensions-except=${extPath}`, `--load-extension=${extPath}`],
// slowMo: 400, // Slows down Playwright operations by 400 milliseconds for showcasing or testing reasons
});
await context.grantPermissions(['clipboard-read', 'clipboard-write']);
await use(context);