Test Frontend #1641
test-frontend.yaml
on: workflow_dispatch
Build | Front-end
2m 35s
Matrix: unit-test
Matrix: test
Annotations
16 errors, 5 warnings, and 5 notices
[Transaction tool] › tests/registrationTests.test.js:310:3 › Registration tests › Verify user is stored in the database after registration:
automation/pages/RegistrationPage.js#L121
1) [Transaction tool] › tests/registrationTests.test.js:310:3 › Registration tests › Verify user is stored in the database after registration
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/registrationTests.test.js:314:5
|
[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
Error: Unable to find elements with prefix "p-file-id-" within 5500 ms
at pages/BasePage.js:645
643 | }
644 |
> 645 | throw new Error(`Unable to find elements with prefix "${selectorPrefix}" within ${timeout} ms`);
| ^
646 | }
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 #1 ───────────────────────────────────────────────────────────────────────────────────────
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: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(`Unable to find elements with prefix "${selectorPrefix}" within ${timeout} ms`);
| ^
646 | }
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 #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unable to find elements with prefix "p-file-id-" within 5500 ms
at pages/BasePage.js:645
643 | }
644 |
> 645 | throw new Error(`Unable to find elements with prefix "${selectorPrefix}" within ${timeout} ms`);
| ^
646 | }
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:68:3 › Workflow tests › Verify account card is visible with valid information:
automation/tests/workflowTests.test.js#L1
2) [Transaction tool] › tests/workflowTests.test.js:68:3 › Workflow tests › Verify account card is visible with valid information
Test timeout of 30000ms exceeded.
|
[Transaction tool] › tests/workflowTests.test.js:68:3 › Workflow tests › Verify account card is visible with valid information:
automation/pages/TransactionPage.js#L661
2) [Transaction tool] › tests/workflowTests.test.js:68:3 › Workflow tests › Verify account card is visible with valid information
Error: page.waitForSelector: Target page, context or browser has been closed
at pages/TransactionPage.js:661
659 | // Construct the selector for the confirmation transaction modal that is visible and in a displayed state
660 | const modalSelector = `[data-testid="${this.confirmTransactionModalSelector}"][style*="display: block"]`;
> 661 | await this.window.waitForSelector(modalSelector, { state: 'visible', timeout: 15000 });
| ^
662 |
663 | // Construct the selector for the enabled sign button within the visible modal
664 | const signButtonSelector = `${modalSelector} [data-testid="${this.buttonSignTransactionSelector}"]:enabled`;
at TransactionPage.clickSignTransactionButton (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:661:23)
at TransactionPage.createNewAccount (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:422:16)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:73:30
|
Automation | Workflow
Process completed with exit code 1.
|
[Transaction tool] › tests/transactionTests.test.js:201:3 › Transaction tests › Verify account id is removed from the account cards after account delete tx:
automation/pages/BasePage.js#L645
1) [Transaction tool] › tests/transactionTests.test.js:201:3 › Transaction tests › Verify account id is removed from the account cards after account delete tx
Error: Unable to find elements with prefix "p-account-id-" within 5500 ms
at pages/BasePage.js:645
643 | }
644 |
> 645 | throw new Error(`Unable to find elements with prefix "${selectorPrefix}" within ${timeout} ms`);
| ^
646 | }
647 | }
648 |
at TransactionPage.countElements (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:645:11)
at TransactionPage.findAccountIndexById (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:350:19)
at TransactionPage.isAccountCardVisible (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:366:19)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/transactionTests.test.js:207:30
|
[Transaction tool] › tests/transactionTests.test.js:201:3 › Transaction tests › Verify account id is removed from the account cards after account delete tx:
automation/pages/BasePage.js#L645
1) [Transaction tool] › tests/transactionTests.test.js:201:3 › Transaction tests › Verify account id is removed from the account cards after account delete tx
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unable to find elements with prefix "p-account-id-" within 5500 ms
at pages/BasePage.js:645
643 | }
644 |
> 645 | throw new Error(`Unable to find elements with prefix "${selectorPrefix}" within ${timeout} ms`);
| ^
646 | }
647 | }
648 |
at TransactionPage.countElements (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:645:11)
at TransactionPage.findAccountIndexById (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:350:19)
at TransactionPage.isAccountCardVisible (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:366:19)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/transactionTests.test.js:207:30
|
[Transaction tool] › tests/transactionTests.test.js:201:3 › Transaction tests › Verify account id is removed from the account cards after account delete tx:
automation/pages/BasePage.js#L645
1) [Transaction tool] › tests/transactionTests.test.js:201:3 › Transaction tests › Verify account id is removed from the account cards after account delete tx
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unable to find elements with prefix "p-account-id-" within 5500 ms
at pages/BasePage.js:645
643 | }
644 |
> 645 | throw new Error(`Unable to find elements with prefix "${selectorPrefix}" within ${timeout} ms`);
| ^
646 | }
647 | }
648 |
at TransactionPage.countElements (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:645:11)
at TransactionPage.findAccountIndexById (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:350:19)
at TransactionPage.isAccountCardVisible (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:366:19)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/transactionTests.test.js:207:30
|
[Transaction tool] › tests/transactionTests.test.js:201:3 › Transaction tests › Verify account id is removed from the account cards after account delete tx:
automation/pages/BasePage.js#L645
1) [Transaction tool] › tests/transactionTests.test.js:201:3 › Transaction tests › Verify account id is removed from the account cards after account delete tx
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unable to find elements with prefix "p-account-id-" within 5500 ms
at pages/BasePage.js:645
643 | }
644 |
> 645 | throw new Error(`Unable to find elements with prefix "${selectorPrefix}" within ${timeout} ms`);
| ^
646 | }
647 | }
648 |
at TransactionPage.countElements (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:645:11)
at TransactionPage.findAccountIndexById (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:350:19)
at TransactionPage.isAccountCardVisible (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:366:19)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/transactionTests.test.js:207:30
|
[Transaction tool] › tests/transactionTests.test.js:156:3 › Transaction tests › Verify user can execute Account Create tx with complex key:
automation/tests/transactionTests.test.js#L1
2) [Transaction tool] › tests/transactionTests.test.js:156:3 › Transaction tests › Verify user can execute Account Create tx with complex key
Test timeout of 30000ms exceeded.
|
[Transaction tool] › tests/transactionTests.test.js:156:3 › Transaction tests › Verify user can execute Account Create tx with complex key:
automation/pages/BasePage.js#L85
2) [Transaction tool] › tests/transactionTests.test.js:156:3 › Transaction tests › Verify user can execute Account Create tx with complex key
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 TransactionPage.fill (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:85:19)
at TransactionPage.fillInPublicKeyField (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:696:16)
at TransactionPage.addPublicKeyAtDepth (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:277:16)
at TransactionPage.createComplexKeyStructure (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:304:5)
at TransactionPage.handleComplexKeyCreation (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:439:5)
at TransactionPage.createNewAccount (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:402:7)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/transactionTests.test.js:157:30
|
[Transaction tool] › tests/transactionTests.test.js:177:3 › Transaction tests › Verify user can execute account delete tx:
automation/pages/TransactionPage.js#L661
3) [Transaction tool] › tests/transactionTests.test.js:177:3 › Transaction tests › Verify user can execute account delete tx
Error: page.waitForSelector: Target crashed
Call log:
- waiting for locator('[data-testid="modal-confirm-transaction"][style*="display: block"]') to be visible
at pages/TransactionPage.js:661
659 | // Construct the selector for the confirmation transaction modal that is visible and in a displayed state
660 | const modalSelector = `[data-testid="${this.confirmTransactionModalSelector}"][style*="display: block"]`;
> 661 | await this.window.waitForSelector(modalSelector, { state: 'visible', timeout: 15000 });
| ^
662 |
663 | // Construct the selector for the enabled sign button within the visible modal
664 | const signButtonSelector = `${modalSelector} [data-testid="${this.buttonSignTransactionSelector}"]:enabled`;
at TransactionPage.clickSignTransactionButton (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:661:23)
at TransactionPage.deleteAccount (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:451:16)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/transactionTests.test.js:180:27
|
Automation | Transactions
Process completed with exit code 1.
|
Automation | Login
No files were found with the provided path: automation/test-results/screenshots/. No artifacts will be uploaded.
|
Automation | Settings
No files were found with the provided path: automation/test-results/screenshots/. No artifacts will be uploaded.
|
Automation | Registration
No files were found with the provided path: automation/test-results/screenshots/. No artifacts will be uploaded.
|
Automation | Workflow
No files were found with the provided path: automation/test-results/screenshots/. No artifacts will be uploaded.
|
Automation | Transactions
No files were found with the provided path: automation/test-results/screenshots/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
5 passed (20.3s)
|
🎭 Playwright Run Summary
10 passed (27.3s)
|
🎭 Playwright Run Summary
1 flaky
[Transaction tool] › tests/registrationTests.test.js:310:3 › Registration tests › Verify user is stored in the database after registration
18 passed (2.1m)
|
🎭 Playwright Run Summary
1 failed
[Transaction tool] › tests/workflowTests.test.js:336:3 › Workflow tests › Verify user can unlink multiple files
1 flaky
[Transaction tool] › tests/workflowTests.test.js:68:3 › Workflow tests › Verify account card is visible with valid information
1 skipped
29 passed (3.8m)
|
🎭 Playwright Run Summary
1 failed
[Transaction tool] › tests/transactionTests.test.js:201:3 › Transaction tests › Verify account id is removed from the account cards after account delete tx
2 flaky
[Transaction tool] › tests/transactionTests.test.js:156:3 › Transaction tests › Verify user can execute Account Create tx with complex key
[Transaction tool] › tests/transactionTests.test.js:177:3 › Transaction tests › Verify user can execute account delete tx
1 skipped
32 passed (4.9m)
|