Skip to content

Regression playwright autotests #953

Regression playwright autotests

Regression playwright autotests #953

Triggered via pull request December 19, 2024 14:54
Status Failure
Total duration 29m 43s
Artifacts 9

pull-request.yaml

on: pull_request
Matrix: desktop-build
web-tests  /  playwright-tests
8m 10s
web-tests / playwright-tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 12 warnings, and 1 notice
[chromium] › AddBitGet.spec.ts:5:5 › BITGET: tests/playwright/tests/AddBitGet.spec.ts#L13
1) [chromium] › AddBitGet.spec.ts:5:5 › BITGET ─────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('UQC2…1-Ly · 0 TON') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('UQC2…1-Ly · 0 TON') 11 | await page.getByRole('button', { name: 'Continue' }).click(); 12 | await expect(page.getByText('W5', { exact: true })).toBeVisible(); > 13 | await expect(page.getByText('UQC2…1-Ly · 0 TON')).toBeVisible(); | ^ 14 | await expect(page.locator('#react-portal-modal-container')).toContainText('UQC2…1-Ly · 0 TON'); 15 | await page.getByRole('button', { name: 'Continue' }).click(); 16 | await page.getByLabel('Password', { exact: true }).fill('123456'); at /home/runner/work/tonkeeper-web/tonkeeper-web/tests/playwright/tests/AddBitGet.spec.ts:13:53
[chromium] › AddBitGet.spec.ts:5:5 › BITGET: tests/playwright/tests/AddBitGet.spec.ts#L13
1) [chromium] › AddBitGet.spec.ts:5:5 › BITGET ─────────────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('UQC2…1-Ly · 0 TON') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('UQC2…1-Ly · 0 TON') 11 | await page.getByRole('button', { name: 'Continue' }).click(); 12 | await expect(page.getByText('W5', { exact: true })).toBeVisible(); > 13 | await expect(page.getByText('UQC2…1-Ly · 0 TON')).toBeVisible(); | ^ 14 | await expect(page.locator('#react-portal-modal-container')).toContainText('UQC2…1-Ly · 0 TON'); 15 | await page.getByRole('button', { name: 'Continue' }).click(); 16 | await page.getByLabel('Password', { exact: true }).fill('123456'); at /home/runner/work/tonkeeper-web/tonkeeper-web/tests/playwright/tests/AddBitGet.spec.ts:13:53
[chromium] › AddBitGet.spec.ts:5:5 › BITGET: tests/playwright/tests/AddBitGet.spec.ts#L12
1) [chromium] › AddBitGet.spec.ts:5:5 › BITGET ─────────────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('W5', { exact: true }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('W5', { exact: true }) 10 | await page.getByLabel('1:', { exact: true }).fill(process.env.BITGET_MNEMONIC_24); 11 | await page.getByRole('button', { name: 'Continue' }).click(); > 12 | await expect(page.getByText('W5', { exact: true })).toBeVisible(); | ^ 13 | await expect(page.getByText('UQC2…1-Ly · 0 TON')).toBeVisible(); 14 | await expect(page.locator('#react-portal-modal-container')).toContainText('UQC2…1-Ly · 0 TON'); 15 | await page.getByRole('button', { name: 'Continue' }).click(); at /home/runner/work/tonkeeper-web/tonkeeper-web/tests/playwright/tests/AddBitGet.spec.ts:12:55
[chromium] › Backup.spec.ts:5:5 › Backup: tests/playwright/tests/Backup.spec.ts#L30
2) [chromium] › Backup.spec.ts:5:5 › Backup ────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: locator('#react-portal-modal-container').getByRole('button') resolved to 2 elements: 1) <button class="sc-laRQQM sc-iNqNmV sc-hOqshF eQtpxg jscKQz gKRSnH">…</button> aka locator('#react-portal-modal-container').getByRole('button').first() 2) <button class="sc-bXDltw dzuGwn">Copy</button> aka getByRole('button', { name: 'Copy' }) Call log: - waiting for locator('#react-portal-modal-container').getByRole('button') 28 | await expect(page.locator('#react-portal-modal-container')).toContainText('Write down these 24 words in the order given below and store them in a secret, safe place.'); 29 | await expect(page.getByRole('heading')).toContainText('Your recovery phrase'); > 30 | await page.locator('#react-portal-modal-container').getByRole('button').click(); | ^ 31 | await page.getByText('Delete Account').click(); 32 | await page.locator('div').filter({ hasText: /^I have a backup copy of recovery phrase$/ }).locator('div').click(); 33 | await page.getByRole('button', { name: 'Delete wallet data' }).click(); at /home/runner/work/tonkeeper-web/tonkeeper-web/tests/playwright/tests/Backup.spec.ts:30:75
[chromium] › Backup.spec.ts:5:5 › Backup: tests/playwright/tests/Backup.spec.ts#L30
2) [chromium] › Backup.spec.ts:5:5 › Backup ────────────────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: locator('#react-portal-modal-container').getByRole('button') resolved to 2 elements: 1) <button class="sc-laRQQM sc-iNqNmV sc-hOqshF eQtpxg jscKQz gKRSnH">…</button> aka locator('#react-portal-modal-container').getByRole('button').first() 2) <button class="sc-bXDltw dzuGwn">Copy</button> aka getByRole('button', { name: 'Copy' }) Call log: - waiting for locator('#react-portal-modal-container').getByRole('button') 28 | await expect(page.locator('#react-portal-modal-container')).toContainText('Write down these 24 words in the order given below and store them in a secret, safe place.'); 29 | await expect(page.getByRole('heading')).toContainText('Your recovery phrase'); > 30 | await page.locator('#react-portal-modal-container').getByRole('button').click(); | ^ 31 | await page.getByText('Delete Account').click(); 32 | await page.locator('div').filter({ hasText: /^I have a backup copy of recovery phrase$/ }).locator('div').click(); 33 | await page.getByRole('button', { name: 'Delete wallet data' }).click(); at /home/runner/work/tonkeeper-web/tonkeeper-web/tests/playwright/tests/Backup.spec.ts:30:75
[chromium] › Backup.spec.ts:5:5 › Backup: tests/playwright/tests/Backup.spec.ts#L1
2) [chromium] › Backup.spec.ts:5:5 › Backup ────────────────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › Backup.spec.ts:5:5 › Backup: tests/playwright/tests/Backup.spec.ts#L17
2) [chromium] › Backup.spec.ts:5:5 › Backup ────────────────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.fill: Test timeout of 30000ms exceeded. Call log: - waiting for locator('div').filter({ hasText: /^Password$/ }).getByRole('textbox') 15 | .filter({ hasText: /^Password$/ }) 16 | .getByRole('textbox') > 17 | .fill('123456'); | ^ 18 | await page.getByRole('textbox').nth(1).click(); 19 | await page.getByRole('textbox').nth(1).fill('123456'); 20 | await page.getByRole('button', { name: 'Continue' }).click(); at /home/runner/work/tonkeeper-web/tonkeeper-web/tests/playwright/tests/Backup.spec.ts:17:6
[chromium] › BuyTon.spec.ts:5:5 › Buy TON on main screen: tests/playwright/tests/BuyTon.spec.ts#L1
3) [chromium] › BuyTon.spec.ts:5:5 › Buy TON on main screen ────────────────────────────────────── Test timeout of 240000ms exceeded.
[chromium] › BuyTon.spec.ts:5:5 › Buy TON on main screen: tests/playwright/tests/BuyTon.spec.ts#L12
3) [chromium] › BuyTon.spec.ts:5:5 › Buy TON on main screen ────────────────────────────────────── Error: locator.click: Test timeout of 240000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Continue' }) 10 | await page.getByLabel('1:', { exact: true }).fill(process.env.TON_MNEMONIC_24); 11 | await page.getByRole('button', { name: 'Continue' }).click(); > 12 | await page.getByRole('button', { name: 'Continue' }).click(); | ^ 13 | await page 14 | .locator('div') 15 | .filter({ hasText: /^Password$/ }) at /home/runner/work/tonkeeper-web/tonkeeper-web/tests/playwright/tests/BuyTon.spec.ts:12:56
[chromium] › BuyTon.spec.ts:5:5 › Buy TON on main screen: tests/playwright/tests/BuyTon.spec.ts#L27
3) [chromium] › BuyTon.spec.ts:5:5 › Buy TON on main screen ────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('div').filter({ hasText: /^NeocryptoInstantly buy with a credit card$/ }).nth(2) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('div').filter({ hasText: /^NeocryptoInstantly buy with a credit card$/ }).nth(2) 25 | await expect(page.getByText('Instant one-click purchase up')).toBeVisible(); 26 | await expect(page.locator('.sc-evBeLY').first()).toBeVisible(); > 27 | await expect(page.locator('div').filter({ hasText: /^NeocryptoInstantly buy with a credit card$/ }).nth(2)).toBeVisible(); | ^ 28 | await expect(page.locator('div').filter({ hasText: /^TransakAn instant swap engine$/ }).nth(1)).toBeVisible(); 29 | await expect(page.locator('#react-portal-modal-container path').nth(1)).toBeVisible(); 30 | await expect(page.locator('#react-portal-modal-container svg').nth(2)).toBeVisible(); at /home/runner/work/tonkeeper-web/tonkeeper-web/tests/playwright/tests/BuyTon.spec.ts:27:111
ipad-build / ipad-build
Process completed with exit code 1.
twa-build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
web-build / web-build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
swap-widget-build / Swap Widget
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
desktop-build (ubuntu-latest, make:arm, arm64, /apps/desktop/out/make)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
desktop-build (ubuntu-latest, make:intel, x64, /apps/desktop/out/make)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
web-tests / playwright-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: tests/playwright/[chromium] › SendTONmodalWindow.spec.ts#L1
tests/playwright/[chromium] › SendTONmodalWindow.spec.ts took 2.5m
Slow Test: tests/playwright/[chromium] › TonConnect.spec.ts#L1
tests/playwright/[chromium] › TonConnect.spec.ts took 53.6s
Slow Test: tests/playwright/[chromium] › AddVersion.spec.ts#L1
tests/playwright/[chromium] › AddVersion.spec.ts took 44.3s
Slow Test: tests/playwright/[chromium] › TokenScreen.spec.ts#L1
tests/playwright/[chromium] › TokenScreen.spec.ts took 39.5s
Slow Test: tests/playwright/[chromium] › 12WordMnemonic/OKX.spec.ts#L1
tests/playwright/[chromium] › 12WordMnemonic/OKX.spec.ts took 37.5s
ipad-build / ipad-build
No files were found with the provided path: /Users/runner/Library/Logs/gym/*.log. No artifacts will be uploaded.
🎭 Playwright Run Summary
11 failed [chromium] › AddBitGet.spec.ts:5:5 › BITGET ──────────────────────────────────────────────────── [chromium] › Backup.spec.ts:5:5 › Backup ─────────────────────────────────────────────────────── [chromium] › BuyTon.spec.ts:5:5 › Buy TON on main screen ─────────────────────────────────────── [chromium] › ElementsVisibility/NavigationSidebarElements.spec.ts:75:5 › Swap ────────────────── [chromium] › ElementsVisibility/NavigationSidebarElements.spec.ts:108:5 › Multisig ───────────── [chromium] › Multisig.spec.ts:30:5 › Create new multisig ─────────────────────────────────────── [chromium] › Multisig.spec.ts:79:5 › Send request ────────────────────────────────────────────── [chromium] › NFT screen.spec.ts:3:5 › Discover tab ───────────────────────────────────────────── [chromium] › Subscription/BuyPro.spec.ts:5:5 › Buy PRO ───────────────────────────────────────── [chromium] › TestnetAccounts/Testnet.spec.ts:60:5 › Add 2 testnets ───────────────────────────── [chromium] › TestnetAccounts/TestnetElements.spec.ts:6:5 › Testnet elements ──────────────────── 2 flaky [chromium] › Add2WalletsAndDeleteInABulk/2 wallets & bulk delete.spec.ts:3:5 › 2 wallets & bulk delete [chromium] › PinToken.spec.ts:43:5 › Pin 2 tokens ────────────────────────────────────────────── 52 passed (6.5m)

Artifacts

Produced during runtime
Name Size
Extension Chrome Expired
6.36 MB
Extension Firefox Expired
6.38 MB
Tonkeeper Desktop Linux arm64 Expired
254 MB
Tonkeeper Desktop Linux x64 Expired
473 MB
Tonkeeper Desktop Windows x64 Expired
107 MB
Tonkeeper Desktop Windows x64 archive Expired
110 MB
Tonkeeper Desktop macOS arm Expired
189 MB
Tonkeeper Desktop macOS universal Expired
349 MB
Tonkeeper Desktop macOS x64 Expired
203 MB