Test Frontend #1626
test-frontend.yaml
on: workflow_dispatch
Build | Front-end
1m 51s
Matrix: unit-test
Matrix: test
Annotations
17 errors and 5 notices
[Transaction tool] › tests/transactionTests.test.js:93:8 › Transaction tests › Verify that all elements on account create page are correct:
automation/pages/RegistrationPage.js#L121
1) [Transaction tool] › tests/transactionTests.test.js:93:8 › Transaction tests › Verify that all elements on account create page are correct
Error: Failed to navigate to the next page after maximum attempts
at pages/RegistrationPage.js:121
119 |
120 | if (!isSuccessful) {
> 121 | throw new Error('Failed to navigate to the next page after maximum attempts');
| ^
122 | }
123 | }
124 |
at RegistrationPage.clickOnFinalNextButtonWithRetry (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/RegistrationPage.js:121:13)
at RegistrationPage.completeRegistration (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/RegistrationPage.js:278:5)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/transactionTests.test.js:38:5
|
[Transaction tool] › tests/transactionTests.test.js:102:8 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx:
automation/tests/transactionTests.test.js#L80
2) [Transaction tool] › tests/transactionTests.test.js:102:8 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
78 |
79 |
> 80 | test.beforeEach(async () => {
| ^
81 | // await transactionPage.closeCompletedTransaction();
82 | await transactionPage.clickOnTransactionsMenuButton();
83 | await transactionPage.clickOnTransactionsMenuButton();
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/transactionTests.test.js:80:8
|
[Transaction tool] › tests/transactionTests.test.js:102:8 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx:
automation/pages/TransactionPage.js#L131
2) [Transaction tool] › tests/transactionTests.test.js:102:8 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.isVisible: Target crashed
Call log:
- checking visibility of getByTestId('button-discard-draft-modal')
at pages/TransactionPage.js:131
129 |
130 | // If the modal is visible, then click the button to close the modal
> 131 | if (await modalButton.isVisible()) {
| ^
132 | await modalButton.click();
133 | }
134 | }
at TransactionPage.closeDraftModal (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:131:27)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/transactionTests.test.js:90:5
|
[Transaction tool] › tests/settingsTests.test.js:88:3 › Settings tests › Verify user can delete key:
automation/tests/settingsTests.test.js#L1
1) [Transaction tool] › tests/settingsTests.test.js:88:3 › Settings tests › Verify user can delete key
Test timeout of 30000ms exceeded.
|
[Transaction tool] › tests/settingsTests.test.js:88:3 › Settings tests › Verify user can delete key:
automation/pages/BasePage.js#L630
1) [Transaction tool] › tests/settingsTests.test.js:88:3 › Settings tests › Verify user can delete key
Error: locator.count: Target page, context or browser has been closed
at pages/BasePage.js:630
628 |
629 | // Count elements.
> 630 | const count = await elements.count();
| ^
631 |
632 | if (count > 0) {
633 | console.log(
at SettingsPage.countElements (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:630:36)
at SettingsPage.getKeyRowCount (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/SettingsPage.js:115:23)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/settingsTests.test.js:118:52
|
[Transaction tool] › tests/settingsTests.test.js:209:3 › Settings tests › Verify user can change password:
automation/tests/settingsTests.test.js#L1
2) [Transaction tool] › tests/settingsTests.test.js:209:3 › Settings tests › Verify user can change password
Test timeout of 30000ms exceeded.
|
[Transaction tool] › tests/settingsTests.test.js:209:3 › Settings tests › Verify user can change password:
automation/pages/BasePage.js#L85
2) [Transaction tool] › tests/settingsTests.test.js:209:3 › Settings tests › Verify user can change password
Error: locator.fill: Target crashed
Call log:
- waiting for getByTestId('input-email')
at pages/BasePage.js:85
83 | console.log(`Filling element with selector: ${selector} with value: ${value}`);
84 | const element = this.getElement(selector, index);
> 85 | await element.fill(value);
| ^
86 | }
87 |
88 | /**
at LoginPage.fill (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:85:19)
at LoginPage.resetForm (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/LoginPage.js:70:16)
at LoginPage.logout (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/LoginPage.js:84:18)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/settingsTests.test.js:219:5
|
[Transaction tool] › tests/workflowTests.test.js:336:3 › Workflow tests › Verify user can unlink multiple files:
automation/pages/BasePage.js#L630
1) [Transaction tool] › tests/workflowTests.test.js:336:3 › Workflow tests › Verify user can unlink multiple files
Error: locator.count: Target crashed
at pages/BasePage.js:630
628 |
629 | // Count elements.
> 630 | const count = await elements.count();
| ^
631 |
632 | if (count > 0) {
633 | console.log(
at FilePage.countElements (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:630:36)
at FilePage.findFileByIndex (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/FilePage.js:166:30)
at FilePage.isFileCardVisible (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/FilePage.js:182:30)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:353:31
|
[Transaction tool] › tests/workflowTests.test.js:336:3 › Workflow tests › Verify user can unlink multiple files:
automation/pages/BasePage.js#L645
1) [Transaction tool] › tests/workflowTests.test.js:336:3 › Workflow tests › Verify user can unlink multiple files
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unable to find elements with prefix "p-file-id-" within 5500 ms
at pages/BasePage.js:645
643 | }
644 |
> 645 | throw new Error(
| ^
646 | `Unable to find elements with prefix "${selectorPrefix}" within ${timeout} ms`
647 | );
648 | }
at FilePage.countElements (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:645:11)
at FilePage.findFileByIndex (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/FilePage.js:166:19)
at FilePage.isFileCardVisible (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/FilePage.js:182:19)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:353:31
|
[Transaction tool] › tests/workflowTests.test.js:336:3 › Workflow tests › Verify user can unlink multiple files:
automation/pages/BasePage.js#L645
1) [Transaction tool] › tests/workflowTests.test.js:336:3 › Workflow tests › Verify user can unlink multiple files
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unable to find elements with prefix "p-file-id-" within 5500 ms
at pages/BasePage.js:645
643 | }
644 |
> 645 | throw new Error(
| ^
646 | `Unable to find elements with prefix "${selectorPrefix}" within ${timeout} ms`
647 | );
648 | }
at FilePage.countElements (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:645:11)
at FilePage.findFileByIndex (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/FilePage.js:166:19)
at FilePage.isFileCardVisible (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/FilePage.js:182:19)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:353:31
|
[Transaction tool] › tests/workflowTests.test.js:336:3 › Workflow tests › Verify user can unlink multiple files:
automation/pages/BasePage.js#L542
1) [Transaction tool] › tests/workflowTests.test.js:336:3 › Workflow tests › Verify user can unlink multiple files
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Failed to retrieve non-empty text from element with selector: input-public-key after multiple attempts
at pages/BasePage.js:542
540 | }
541 |
> 542 | throw new Error(
| ^
543 | `Failed to retrieve non-empty text from element with selector: ${selector} after multiple attempts`,
544 | );
545 | }
at TransactionPage.getTextFromInputFieldWithRetry (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:542:11)
at TransactionPage.getPublicKeyText (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:1008:12)
at TransactionPage.createFile (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:492:23)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:340:24
|
[Transaction tool] › tests/workflowTests.test.js:360:3 › Workflow tests › Verify user can add an existing file to files card:
automation/tests/workflowTests.test.js#L1
2) [Transaction tool] › tests/workflowTests.test.js:360:3 › Workflow tests › Verify user can add an existing file to files card
Test timeout of 30000ms exceeded.
|
[Transaction tool] › tests/workflowTests.test.js:360:3 › Workflow tests › Verify user can add an existing file to files card:
automation/pages/BasePage.js#L85
2) [Transaction tool] › tests/workflowTests.test.js:360:3 › Workflow tests › Verify user can add an existing file to files card
Error: locator.fill: Target page, context or browser has been closed
at pages/BasePage.js:85
83 | console.log(`Filling element with selector: ${selector} with value: ${value}`);
84 | const element = this.getElement(selector, index);
> 85 | await element.fill(value);
| ^
86 | }
87 |
88 | /**
at FilePage.fill (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:85:19)
at FilePage.fillInExistingFileId (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/FilePage.js:96:16)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:366:20
|
[Transaction tool] › tests/workflowTests.test.js:360:3 › Workflow tests › Verify user can add an existing file to files card:
automation/tests/workflowTests.test.js#L1
2) [Transaction tool] › tests/workflowTests.test.js:360:3 › Workflow tests › Verify user can add an existing file to files card
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[Transaction tool] › tests/workflowTests.test.js:360:3 › Workflow tests › Verify user can add an existing file to files card:
automation/pages/BasePage.js#L85
2) [Transaction tool] › tests/workflowTests.test.js:360:3 › Workflow tests › Verify user can add an existing file to files card
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.fill: Target page, context or browser has been closed
at pages/BasePage.js:85
83 | console.log(`Filling element with selector: ${selector} with value: ${value}`);
84 | const element = this.getElement(selector, index);
> 85 | await element.fill(value);
| ^
86 | }
87 |
88 | /**
at FilePage.fill (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:85:19)
at FilePage.fillInExistingFileId (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/FilePage.js:96:16)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:366:20
|
[Transaction tool] › tests/workflowTests.test.js:360:3 › Workflow tests › Verify user can add an existing file to files card:
automation/tests/workflowTests.test.js#L1
2) [Transaction tool] › tests/workflowTests.test.js:360:3 › Workflow tests › Verify user can add an existing file to files card
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[Transaction tool] › tests/workflowTests.test.js:360:3 › Workflow tests › Verify user can add an existing file to files card:
automation/pages/BasePage.js#L85
2) [Transaction tool] › tests/workflowTests.test.js:360:3 › Workflow tests › Verify user can add an existing file to files card
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.fill: Target page, context or browser has been closed
at pages/BasePage.js:85
83 | console.log(`Filling element with selector: ${selector} with value: ${value}`);
84 | const element = this.getElement(selector, index);
> 85 | await element.fill(value);
| ^
86 | }
87 |
88 | /**
at FilePage.fill (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:85:19)
at FilePage.fillInExistingFileId (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/FilePage.js:96:16)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:366:20
|
🎭 Playwright Run Summary
5 passed (20.7s)
|
🎭 Playwright Run Summary
2 flaky
[Transaction tool] › tests/transactionTests.test.js:93:8 › Transaction tests › Verify that all elements on account create page are correct
[Transaction tool] › tests/transactionTests.test.js:102:8 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx
|
🎭 Playwright Run Summary
19 passed (1.7m)
|
🎭 Playwright Run Summary
2 flaky
[Transaction tool] › tests/settingsTests.test.js:88:3 › Settings tests › Verify user can delete key
[Transaction tool] › tests/settingsTests.test.js:209:3 › Settings tests › Verify user can change password
8 passed (1.7m)
|
🎭 Playwright Run Summary
4 failed
[Transaction tool] › tests/workflowTests.test.js:336:3 › Workflow tests › Verify user can unlink multiple files
[Transaction tool] › tests/workflowTests.test.js:360:3 › Workflow tests › Verify user can add an existing file to files card
[Transaction tool] › tests/workflowTests.test.js:458:3 › Workflow tests › Verify account delete tx is displayed in history page
[Transaction tool] › tests/workflowTests.test.js:466:3 › Workflow tests › Verify transaction details are displayed for account delete tx
4 flaky
[Transaction tool] › tests/workflowTests.test.js:152:3 › Workflow tests › Verify clicking on "Edit" and "Update" navigates the user on update account tx page with prefilled account
[Transaction tool] › tests/workflowTests.test.js:168:3 › Workflow tests › Verify clicking on "Edit" and "Delete" navigates the user on update account tx page with prefilled account
[Transaction tool] › tests/workflowTests.test.js:204:3 › Workflow tests › Verify user can add an existing account
[Transaction tool] › tests/workflowTests.test.js:375:3 › Workflow tests › Verify account create tx is displayed in history page
1 skipped
23 passed (9.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
screenshots-Login
Expired
|
562 KB |
|
screenshots-Registration
Expired
|
3.2 MB |
|
screenshots-Settings
Expired
|
3.67 MB |
|
screenshots-Transactions
Expired
|
1.81 MB |
|
screenshots-Workflow
Expired
|
22.1 MB |
|