Skip to content

Commit

Permalink
Merge pull request #157 from lidofinance/fix-okx
Browse files Browse the repository at this point in the history
fix okx new release
  • Loading branch information
itaven authored Jun 7, 2024
2 parents 6090610 + e4080c9 commit 176c02d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/wallets/src/okx/okx.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export class OkxPage implements WalletPage {
await test.step('First time setup', async () => {
if (!this.page) throw "Page isn't ready";
await this.page.click("button:has-text('Import wallet')");
await this.page.getByText('Import wallet').click();

Check failure on line 62 in packages/wallets/src/okx/okx.page.ts

View workflow job for this annotation

GitHub Actions / Testing

../../test/widgets/ethereum.spec.ts:71:7 › Ethereum › OKX connect

1) ../../test/widgets/ethereum.spec.ts:71:7 › Ethereum › OKX connect › Setup › First time setup ── Error: locator.click: Error: strict mode violation: getByText('Import wallet') resolved to 2 elements: 1) <div class="_mainTitle_16qzr_12">Import wallet</div> aka getByText('Import wallet').first() 2) <div class="_typography-text_1os1p_1 _typography-text…>Import wallet</div> aka getByText('Import wallet').nth(1) Call log: - waiting for getByText('Import wallet') at ../../../packages/wallets/src/okx/okx.page.ts:62 60 | if (!this.page) throw "Page isn't ready"; 61 | await this.page.click("button:has-text('Import wallet')"); > 62 | await this.page.getByText('Import wallet').click(); | ^ 63 | await this.page.click('text=Seed Phrase'); 64 | const inputs = this.page.locator('div[data-testid="okd-popup"] >> input'); 65 | const seedWords = this.config.SECRET_PHRASE.split(' '); at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:62:50 at OkxPage.firstTimeSetup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:59:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:34:22 at OkxPage.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:28:5) at BrowserService.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/browser/browser.service.ts:96:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/test/widgets/ethereum.spec.ts:72:5

Check failure on line 62 in packages/wallets/src/okx/okx.page.ts

View workflow job for this annotation

GitHub Actions / Testing

../../test/widgets/ethereum.spec.ts:71:7 › Ethereum › OKX connect

1) ../../test/widgets/ethereum.spec.ts:71:7 › Ethereum › OKX connect › Setup › First time setup ── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByText('Import wallet') resolved to 2 elements: 1) <div class="_mainTitle_16qzr_12">Import wallet</div> aka getByText('Import wallet').first() 2) <div class="_typography-text_1os1p_1 _typography-text…>Import wallet</div> aka getByText('Import wallet').nth(1) Call log: - waiting for getByText('Import wallet') at ../../../packages/wallets/src/okx/okx.page.ts:62 60 | if (!this.page) throw "Page isn't ready"; 61 | await this.page.click("button:has-text('Import wallet')"); > 62 | await this.page.getByText('Import wallet').click(); | ^ 63 | await this.page.click('text=Seed Phrase'); 64 | const inputs = this.page.locator('div[data-testid="okd-popup"] >> input'); 65 | const seedWords = this.config.SECRET_PHRASE.split(' '); at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:62:50 at OkxPage.firstTimeSetup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:59:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:34:22 at OkxPage.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:28:5) at BrowserService.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/browser/browser.service.ts:96:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/test/widgets/ethereum.spec.ts:72:5

Check failure on line 62 in packages/wallets/src/okx/okx.page.ts

View workflow job for this annotation

GitHub Actions / Testing

../../test/widgets/ethereum.spec.ts:71:7 › Ethereum › OKX connect

1) ../../test/widgets/ethereum.spec.ts:71:7 › Ethereum › OKX connect › Setup › First time setup ── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByText('Import wallet') resolved to 2 elements: 1) <div class="_mainTitle_16qzr_12">Import wallet</div> aka getByText('Import wallet').first() 2) <div class="_typography-text_1os1p_1 _typography-text…>Import wallet</div> aka getByText('Import wallet').nth(1) Call log: - waiting for getByText('Import wallet') at ../../../packages/wallets/src/okx/okx.page.ts:62 60 | if (!this.page) throw "Page isn't ready"; 61 | await this.page.click("button:has-text('Import wallet')"); > 62 | await this.page.getByText('Import wallet').click(); | ^ 63 | await this.page.click('text=Seed Phrase'); 64 | const inputs = this.page.locator('div[data-testid="okd-popup"] >> input'); 65 | const seedWords = this.config.SECRET_PHRASE.split(' '); at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:62:50 at OkxPage.firstTimeSetup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:59:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:34:22 at OkxPage.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:28:5) at BrowserService.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/browser/browser.service.ts:96:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/test/widgets/ethereum.spec.ts:72:5

Check failure on line 62 in packages/wallets/src/okx/okx.page.ts

View workflow job for this annotation

GitHub Actions / Testing

../../test/widgets/polygon.spec.ts:60:7 › Polygon › OKX connect

2) ../../test/widgets/polygon.spec.ts:60:7 › Polygon › OKX connect › Setup › First time setup ──── Error: locator.click: Error: strict mode violation: getByText('Import wallet') resolved to 2 elements: 1) <div class="_mainTitle_16qzr_12">Import wallet</div> aka getByText('Import wallet').first() 2) <div class="_typography-text_1os1p_1 _typography-text…>Import wallet</div> aka getByText('Import wallet').nth(1) Call log: - waiting for getByText('Import wallet') at ../../../packages/wallets/src/okx/okx.page.ts:62 60 | if (!this.page) throw "Page isn't ready"; 61 | await this.page.click("button:has-text('Import wallet')"); > 62 | await this.page.getByText('Import wallet').click(); | ^ 63 | await this.page.click('text=Seed Phrase'); 64 | const inputs = this.page.locator('div[data-testid="okd-popup"] >> input'); 65 | const seedWords = this.config.SECRET_PHRASE.split(' '); at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:62:50 at OkxPage.firstTimeSetup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:59:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:34:22 at OkxPage.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:28:5) at BrowserService.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/browser/browser.service.ts:96:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/test/widgets/polygon.spec.ts:61:5

Check failure on line 62 in packages/wallets/src/okx/okx.page.ts

View workflow job for this annotation

GitHub Actions / Testing

../../test/widgets/polygon.spec.ts:60:7 › Polygon › OKX connect

2) ../../test/widgets/polygon.spec.ts:60:7 › Polygon › OKX connect › Setup › First time setup ──── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByText('Import wallet') resolved to 2 elements: 1) <div class="_mainTitle_16qzr_12">Import wallet</div> aka getByText('Import wallet').first() 2) <div class="_typography-text_1os1p_1 _typography-text…>Import wallet</div> aka getByText('Import wallet').nth(1) Call log: - waiting for getByText('Import wallet') at ../../../packages/wallets/src/okx/okx.page.ts:62 60 | if (!this.page) throw "Page isn't ready"; 61 | await this.page.click("button:has-text('Import wallet')"); > 62 | await this.page.getByText('Import wallet').click(); | ^ 63 | await this.page.click('text=Seed Phrase'); 64 | const inputs = this.page.locator('div[data-testid="okd-popup"] >> input'); 65 | const seedWords = this.config.SECRET_PHRASE.split(' '); at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:62:50 at OkxPage.firstTimeSetup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:59:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:34:22 at OkxPage.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:28:5) at BrowserService.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/browser/browser.service.ts:96:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/test/widgets/polygon.spec.ts:61:5

Check failure on line 62 in packages/wallets/src/okx/okx.page.ts

View workflow job for this annotation

GitHub Actions / Testing

../../test/widgets/polygon.spec.ts:60:7 › Polygon › OKX connect

2) ../../test/widgets/polygon.spec.ts:60:7 › Polygon › OKX connect › Setup › First time setup ──── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByText('Import wallet') resolved to 2 elements: 1) <div class="_mainTitle_16qzr_12">Import wallet</div> aka getByText('Import wallet').first() 2) <div class="_typography-text_1os1p_1 _typography-text…>Import wallet</div> aka getByText('Import wallet').nth(1) Call log: - waiting for getByText('Import wallet') at ../../../packages/wallets/src/okx/okx.page.ts:62 60 | if (!this.page) throw "Page isn't ready"; 61 | await this.page.click("button:has-text('Import wallet')"); > 62 | await this.page.getByText('Import wallet').click(); | ^ 63 | await this.page.click('text=Seed Phrase'); 64 | const inputs = this.page.locator('div[data-testid="okd-popup"] >> input'); 65 | const seedWords = this.config.SECRET_PHRASE.split(' '); at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:62:50 at OkxPage.firstTimeSetup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:59:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:34:22 at OkxPage.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:28:5) at BrowserService.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/browser/browser.service.ts:96:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/test/widgets/polygon.spec.ts:61:5

Check failure on line 62 in packages/wallets/src/okx/okx.page.ts

View workflow job for this annotation

GitHub Actions / Testing

../../test/widgets/ethereum.spec.ts:71:7 › Ethereum › OKX connect

1) ../../test/widgets/ethereum.spec.ts:71:7 › Ethereum › OKX connect › Setup › First time setup ── Error: locator.click: Error: strict mode violation: getByText('Import wallet') resolved to 2 elements: 1) <div class="_mainTitle_16qzr_12">Import wallet</div> aka getByText('Import wallet').first() 2) <div class="_typography-text_1os1p_1 _typography-text…>Import wallet</div> aka getByText('Import wallet').nth(1) Call log: - waiting for getByText('Import wallet') at ../../../packages/wallets/src/okx/okx.page.ts:62 60 | if (!this.page) throw "Page isn't ready"; 61 | await this.page.click("button:has-text('Import wallet')"); > 62 | await this.page.getByText('Import wallet').click(); | ^ 63 | await this.page.click('text=Seed Phrase'); 64 | const inputs = this.page.locator('div[data-testid="okd-popup"] >> input'); 65 | const seedWords = this.config.SECRET_PHRASE.split(' '); at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:62:50 at OkxPage.firstTimeSetup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:59:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:34:22 at OkxPage.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:28:5) at BrowserService.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/browser/browser.service.ts:96:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/test/widgets/ethereum.spec.ts:72:5

Check failure on line 62 in packages/wallets/src/okx/okx.page.ts

View workflow job for this annotation

GitHub Actions / Testing

../../test/widgets/ethereum.spec.ts:71:7 › Ethereum › OKX connect

1) ../../test/widgets/ethereum.spec.ts:71:7 › Ethereum › OKX connect › Setup › First time setup ── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByText('Import wallet') resolved to 2 elements: 1) <div class="_mainTitle_16qzr_12">Import wallet</div> aka getByText('Import wallet').first() 2) <div class="_typography-text_1os1p_1 _typography-text…>Import wallet</div> aka getByText('Import wallet').nth(1) Call log: - waiting for getByText('Import wallet') at ../../../packages/wallets/src/okx/okx.page.ts:62 60 | if (!this.page) throw "Page isn't ready"; 61 | await this.page.click("button:has-text('Import wallet')"); > 62 | await this.page.getByText('Import wallet').click(); | ^ 63 | await this.page.click('text=Seed Phrase'); 64 | const inputs = this.page.locator('div[data-testid="okd-popup"] >> input'); 65 | const seedWords = this.config.SECRET_PHRASE.split(' '); at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:62:50 at OkxPage.firstTimeSetup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:59:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:34:22 at OkxPage.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:28:5) at BrowserService.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/browser/browser.service.ts:96:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/test/widgets/ethereum.spec.ts:72:5

Check failure on line 62 in packages/wallets/src/okx/okx.page.ts

View workflow job for this annotation

GitHub Actions / Testing

../../test/widgets/ethereum.spec.ts:71:7 › Ethereum › OKX connect

1) ../../test/widgets/ethereum.spec.ts:71:7 › Ethereum › OKX connect › Setup › First time setup ── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByText('Import wallet') resolved to 2 elements: 1) <div class="_mainTitle_16qzr_12">Import wallet</div> aka getByText('Import wallet').first() 2) <div class="_typography-text_1os1p_1 _typography-text…>Import wallet</div> aka getByText('Import wallet').nth(1) Call log: - waiting for getByText('Import wallet') at ../../../packages/wallets/src/okx/okx.page.ts:62 60 | if (!this.page) throw "Page isn't ready"; 61 | await this.page.click("button:has-text('Import wallet')"); > 62 | await this.page.getByText('Import wallet').click(); | ^ 63 | await this.page.click('text=Seed Phrase'); 64 | const inputs = this.page.locator('div[data-testid="okd-popup"] >> input'); 65 | const seedWords = this.config.SECRET_PHRASE.split(' '); at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:62:50 at OkxPage.firstTimeSetup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:59:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:34:22 at OkxPage.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:28:5) at BrowserService.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/browser/browser.service.ts:96:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/test/widgets/ethereum.spec.ts:72:5

Check failure on line 62 in packages/wallets/src/okx/okx.page.ts

View workflow job for this annotation

GitHub Actions / Testing

../../test/widgets/polygon.spec.ts:60:7 › Polygon › OKX connect

2) ../../test/widgets/polygon.spec.ts:60:7 › Polygon › OKX connect › Setup › First time setup ──── Error: locator.click: Error: strict mode violation: getByText('Import wallet') resolved to 2 elements: 1) <div class="_mainTitle_16qzr_12">Import wallet</div> aka getByText('Import wallet').first() 2) <div class="_typography-text_1os1p_1 _typography-text…>Import wallet</div> aka getByText('Import wallet').nth(1) Call log: - waiting for getByText('Import wallet') at ../../../packages/wallets/src/okx/okx.page.ts:62 60 | if (!this.page) throw "Page isn't ready"; 61 | await this.page.click("button:has-text('Import wallet')"); > 62 | await this.page.getByText('Import wallet').click(); | ^ 63 | await this.page.click('text=Seed Phrase'); 64 | const inputs = this.page.locator('div[data-testid="okd-popup"] >> input'); 65 | const seedWords = this.config.SECRET_PHRASE.split(' '); at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:62:50 at OkxPage.firstTimeSetup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:59:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:34:22 at OkxPage.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:28:5) at BrowserService.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/browser/browser.service.ts:96:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/test/widgets/polygon.spec.ts:61:5

Check failure on line 62 in packages/wallets/src/okx/okx.page.ts

View workflow job for this annotation

GitHub Actions / Testing

../../test/widgets/polygon.spec.ts:60:7 › Polygon › OKX connect

2) ../../test/widgets/polygon.spec.ts:60:7 › Polygon › OKX connect › Setup › First time setup ──── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByText('Import wallet') resolved to 2 elements: 1) <div class="_mainTitle_16qzr_12">Import wallet</div> aka getByText('Import wallet').first() 2) <div class="_typography-text_1os1p_1 _typography-text…>Import wallet</div> aka getByText('Import wallet').nth(1) Call log: - waiting for getByText('Import wallet') at ../../../packages/wallets/src/okx/okx.page.ts:62 60 | if (!this.page) throw "Page isn't ready"; 61 | await this.page.click("button:has-text('Import wallet')"); > 62 | await this.page.getByText('Import wallet').click(); | ^ 63 | await this.page.click('text=Seed Phrase'); 64 | const inputs = this.page.locator('div[data-testid="okd-popup"] >> input'); 65 | const seedWords = this.config.SECRET_PHRASE.split(' '); at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:62:50 at OkxPage.firstTimeSetup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:59:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:34:22 at OkxPage.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:28:5) at BrowserService.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/browser/browser.service.ts:96:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/test/widgets/polygon.spec.ts:61:5

Check failure on line 62 in packages/wallets/src/okx/okx.page.ts

View workflow job for this annotation

GitHub Actions / Testing

../../test/widgets/polygon.spec.ts:60:7 › Polygon › OKX connect

2) ../../test/widgets/polygon.spec.ts:60:7 › Polygon › OKX connect › Setup › First time setup ──── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByText('Import wallet') resolved to 2 elements: 1) <div class="_mainTitle_16qzr_12">Import wallet</div> aka getByText('Import wallet').first() 2) <div class="_typography-text_1os1p_1 _typography-text…>Import wallet</div> aka getByText('Import wallet').nth(1) Call log: - waiting for getByText('Import wallet') at ../../../packages/wallets/src/okx/okx.page.ts:62 60 | if (!this.page) throw "Page isn't ready"; 61 | await this.page.click("button:has-text('Import wallet')"); > 62 | await this.page.getByText('Import wallet').click(); | ^ 63 | await this.page.click('text=Seed Phrase'); 64 | const inputs = this.page.locator('div[data-testid="okd-popup"] >> input'); 65 | const seedWords = this.config.SECRET_PHRASE.split(' '); at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:62:50 at OkxPage.firstTimeSetup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:59:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:34:22 at OkxPage.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/packages/wallets/src/okx/okx.page.ts:28:5) at BrowserService.setup (/home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/browser/browser.service.ts:96:5) at /home/runner/work/wallets-testing-modules/wallets-testing-modules/wallets-testing/test/widgets/polygon.spec.ts:61:5
await this.page.click('text=Seed Phrase');
const inputs = this.page.locator('div[data-testid="okd-popup"] >> input');
const seedWords = this.config.SECRET_PHRASE.split(' ');
Expand Down Expand Up @@ -92,7 +93,9 @@ export class OkxPage implements WalletPage {
.fill(this.config.PASSWORD);
await this.page.waitForTimeout(2000);
await this.page.getByRole('button', { name: 'Confirm' }).click();
await this.page.waitForSelector("button:has-text('Maybe later')");
await this.page.waitForSelector(
"button:has-text('Start your Web3 journey')",
);
await this.page.waitForTimeout(2000);
});
}
Expand Down

0 comments on commit 176c02d

Please sign in to comment.