Test Frontend #1610
test-frontend.yaml
on: workflow_dispatch
Build | Front-end
1m 51s
Matrix: unit-test
Matrix: test
Annotations
8 errors, 5 warnings, and 5 notices
[Transaction tool] › tests/settingsTests.test.js:105:3 › Settings tests › Verify user can delete key:
automation/tests/settingsTests.test.js#L1
1) [Transaction tool] › tests/settingsTests.test.js:105:3 › Settings tests › Verify user can delete key
Test timeout of 30000ms exceeded.
|
[Transaction tool] › tests/settingsTests.test.js:105:3 › Settings tests › Verify user can delete key:
automation/pages/BasePage.js#L614
1) [Transaction tool] › tests/settingsTests.test.js:105:3 › Settings tests › Verify user can delete key
Error: locator.count: Target page, context or browser has been closed
at pages/BasePage.js:614
612 | : `[data-testid^="${selectorPrefix}"]`;
613 | const elements = this.window.locator(selector);
> 614 | const count = await elements.count();
| ^
615 | console.log(`Found ${count} elements with prefix: ${selectorPrefix}`);
616 | return count;
617 | }
at SettingsPage.countElements (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:614:34)
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:135:52
|
[Transaction tool] › tests/workflowTests.test.js:68:3 › Workflow tests › Verify account card is visible with valid information:
automation/tests/workflowTests.test.js#L1
1) [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
1) [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
|
[Transaction tool] › tests/transactionTests.test.js:170:3 › Transaction tests › Verify user can execute Account Create tx with complex key:
automation/tests/transactionTests.test.js#L1
1) [Transaction tool] › tests/transactionTests.test.js:170:3 › Transaction tests › Verify user can execute Account Create tx with complex key
Test timeout of 30000ms exceeded.
|
[Transaction tool] › tests/transactionTests.test.js:170:3 › Transaction tests › Verify user can execute Account Create tx with complex key:
automation/pages/BasePage.js#L85
1) [Transaction tool] › tests/transactionTests.test.js:170: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:310: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:171:30
|
[Transaction tool] › tests/transactionTests.test.js:191:3 › Transaction tests › Verify user can execute account delete tx:
automation/tests/transactionTests.test.js#L1
2) [Transaction tool] › tests/transactionTests.test.js:191:3 › Transaction tests › Verify user can execute account delete tx
Test timeout of 30000ms exceeded.
|
[Transaction tool] › tests/transactionTests.test.js:191:3 › Transaction tests › Verify user can execute account delete tx:
automation/pages/TransactionPage.js#L661
2) [Transaction tool] › tests/transactionTests.test.js:191:3 › Transaction tests › Verify user can execute account delete tx
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.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:194:27
|
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 (19.7s)
|
🎭 Playwright Run Summary
1 flaky
[Transaction tool] › tests/settingsTests.test.js:105:3 › Settings tests › Verify user can delete key
9 passed (1.1m)
|
🎭 Playwright Run Summary
19 passed (1.7m)
|
🎭 Playwright Run Summary
1 flaky
[Transaction tool] › tests/workflowTests.test.js:68:3 › Workflow tests › Verify account card is visible with valid information
1 skipped
30 passed (2.4m)
|
🎭 Playwright Run Summary
2 flaky
[Transaction tool] › tests/transactionTests.test.js:170:3 › Transaction tests › Verify user can execute Account Create tx with complex key
[Transaction tool] › tests/transactionTests.test.js:191:3 › Transaction tests › Verify user can execute account delete tx
1 skipped
33 passed (4.4m)
|