the flow for the tests(transfer and withdraw) has changed #67
Annotations
2 errors and 1 notice
[all] › __tests__/goerli_eth.test.ts:92:18 › USDM pool › Deposit USDM:
e2e-ci-cd/pages/PageObjects/OperationsWithToken/OperationsWithTokenElements.ts#L161
1) [all] › __tests__/goerli_eth.test.ts:92:18 › USDM pool › Deposit USDM ─────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('//div/span[text()="Generating a proof"]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('//div/span[text()="Generating a proof"]')
at pages/PageObjects/OperationsWithToken/OperationsWithTokenElements.ts:161
159 | const [popupSwitchNetwork] = await Promise.all([this.waitForPage(), this.locator(OperationsWithTokenElementsLocators.button_deposit).click()]);
160 | await popupSwitchNetwork.locator('//button[text()="Switch network"]').click();
> 161 | await expect(this.locator('//div/span[text()="Generating a proof"]')).toBeVisible();
| ^
162 | const [popup2] = await Promise.all([this.waitForPage(), await (this.locator('//div/span[text()="Please sign a message"]')).isVisible({timeout: TIMEOUTS.tenMinutes})]);
163 | await popup2.locator('//i[@aria-label="Scroll down"]').click();
164 | await popup2.locator('//button[text()="Sign"]').click();
at OperationsWithTokenPages.button_Deposit (/home/runner/work/zkbob-ui/zkbob-ui/e2e-ci-cd/pages/PageObjects/OperationsWithToken/OperationsWithTokenElements.ts:161:77)
at /home/runner/work/zkbob-ui/zkbob-ui/e2e-ci-cd/__tests__/goerli_eth.test.ts:97:17
|
[all] › __tests__/goerli_eth.test.ts:112:18 › USDM pool › Withdraw USDM:
e2e-ci-cd/pages/PageObjects/OperationsWithToken/OperationsWithTokenElements.ts#L219
2) [all] › __tests__/goerli_eth.test.ts:112:18 › USDM pool › Withdraw USDM ───────────────────────
Error: Timed out 60000ms waiting for expect(locator).toBeVisible()
Locator: locator('//span[text()="Withdrawal is in progress"]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 60000ms
- waiting for locator('//span[text()="Withdrawal is in progress"]')
at pages/PageObjects/OperationsWithToken/OperationsWithTokenElements.ts:219
217 | async CheckWithdraw():Promise<void> {
218 | await expect(this.locator('//span[text()="Generating a proof"]')).not.toBeVisible({timeout: TIMEOUTS.tenMinutes});
> 219 | await expect(this.locator('//span[text()="Withdrawal is in progress"]')).toBeVisible({timeout: TIMEOUTS.oneMinute});
| ^
220 | }
221 |
222 |
at OperationsWithTokenPages.CheckWithdraw (/home/runner/work/zkbob-ui/zkbob-ui/e2e-ci-cd/pages/PageObjects/OperationsWithToken/OperationsWithTokenElements.ts:219:80)
at /home/runner/work/zkbob-ui/zkbob-ui/e2e-ci-cd/__tests__/goerli_eth.test.ts:120:17
|
🎭 Playwright Run Summary
2 flaky
[all] › __tests__/goerli_eth.test.ts:92:18 › USDM pool › Deposit USDM ──────────────────────────
[all] › __tests__/goerli_eth.test.ts:112:18 › USDM pool › Withdraw USDM ────────────────────────
1 passed (7.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
report
Expired
|
33.6 MB |
|