fix: personal group transactions #1682
test-frontend.yaml
on: pull_request
Build | Front-end
2m 37s
Matrix: unit-test
Matrix: test
Annotations
12 errors and 5 notices
[Transaction tool] › tests/loginTests.test.js:47:3 › Login tests › Verify that login with incorrect password shows an error message:
automation/tests/loginTests.test.js#L20
1) [Transaction tool] › tests/loginTests.test.js:47:3 › Login tests › Verify that login with incorrect password shows an error message
"beforeAll" hook timeout of 30000ms exceeded.
18 |
19 | test.describe('Login tests', () => {
> 20 | test.beforeAll(async () => {
| ^
21 | await resetDbState();
22 | ({ app, window } = await setupApp());
23 | loginPage = new LoginPage(window);
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/loginTests.test.js:20:8
|
[Transaction tool] › tests/loginTests.test.js:47:3 › Login tests › Verify that login with incorrect password shows an error message:
automation/pages/RegistrationPage.js#L267
1) [Transaction tool] › tests/loginTests.test.js:47:3 › Login tests › Verify that login with incorrect password shows an error message
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
at pages/RegistrationPage.js:267
265 |
266 | const isTabVisible = await this.isCreateNewTabVisible();
> 267 | expect(isTabVisible).toBe(true);
| ^
268 |
269 | await this.clickOnCreateNewTab();
270 | await this.clickOnUnderstandCheckbox();
at RegistrationPage.completeRegistration (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/RegistrationPage.js:267:26)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/loginTests.test.js:32:5
|
[Transaction tool] › tests/settingsTests.test.js:52:3 › Settings tests › Verify that all elements in settings page are present:
automation/tests/settingsTests.test.js#L22
1) [Transaction tool] › tests/settingsTests.test.js:52:3 › Settings tests › Verify that all elements in settings page are present
"beforeAll" hook timeout of 30000ms exceeded.
20 |
21 | test.describe('Settings tests', () => {
> 22 | test.beforeAll(async () => {
| ^
23 | await resetDbState();
24 | ({ app, window } = await setupApp());
25 | loginPage = new LoginPage(window);
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/settingsTests.test.js:22:8
|
[Transaction tool] › tests/settingsTests.test.js:52:3 › Settings tests › Verify that all elements in settings page are present:
automation/pages/RegistrationPage.js#L267
1) [Transaction tool] › tests/settingsTests.test.js:52:3 › Settings tests › Verify that all elements in settings page are present
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
at pages/RegistrationPage.js:267
265 |
266 | const isTabVisible = await this.isCreateNewTabVisible();
> 267 | expect(isTabVisible).toBe(true);
| ^
268 |
269 | await this.clickOnCreateNewTab();
270 | await this.clickOnUnderstandCheckbox();
at RegistrationPage.completeRegistration (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/RegistrationPage.js:267:26)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/settingsTests.test.js:35:5
|
[Transaction tool] › tests/registrationTests.test.js:79:3 › Registration tests › Verify elements on account setup page are correct:
automation/tests/registrationTests.test.js#L1
1) [Transaction tool] › tests/registrationTests.test.js:79:3 › Registration tests › Verify elements on account setup page are correct
Test timeout of 30000ms exceeded.
|
[Transaction tool] › tests/registrationTests.test.js:79:3 › Registration tests › Verify elements on account setup page are correct:
automation/tests/registrationTests.test.js#L90
1) [Transaction tool] › tests/registrationTests.test.js:79:3 › Registration tests › Verify elements on account setup page are correct
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
88 |
89 | const allElementsAreCorrect = await registrationPage.verifyAccountSetupElements();
> 90 | expect(allElementsAreCorrect).toBe(true);
| ^
91 | });
92 |
93 | test('Verify "Create New" tab elements in account setup are correct', async () => {
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/registrationTests.test.js:90:35
|
[Transaction tool] › tests/workflowTests.test.js:68:3 › Workflow tests › Verify account card is visible with valid information:
automation/tests/workflowTests.test.js#L24
1) [Transaction tool] › tests/workflowTests.test.js:68:3 › Workflow tests › Verify account card is visible with valid information
"beforeAll" hook timeout of 30000ms exceeded.
22 |
23 | test.describe('Workflow tests', () => {
> 24 | test.beforeAll(async () => {
| ^
25 | await resetDbState();
26 | ({ app, window } = await setupApp());
27 | loginPage = new LoginPage(window);
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:24:8
|
[Transaction tool] › tests/workflowTests.test.js:68:3 › Workflow tests › Verify account card is visible with valid information:
automation/pages/RegistrationPage.js#L267
1) [Transaction tool] › tests/workflowTests.test.js:68:3 › Workflow tests › Verify account card is visible with valid information
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
at pages/RegistrationPage.js:267
265 |
266 | const isTabVisible = await this.isCreateNewTabVisible();
> 267 | expect(isTabVisible).toBe(true);
| ^
268 |
269 | await this.clickOnCreateNewTab();
270 | await this.clickOnUnderstandCheckbox();
at RegistrationPage.completeRegistration (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/RegistrationPage.js:267:26)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:42:5
|
[Transaction tool] › tests/transactionTests.test.js:154: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:154:3 › Transaction tests › Verify user can execute Account Create tx with complex key
Test timeout of 30000ms exceeded.
|
[Transaction tool] › tests/transactionTests.test.js:154: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:154: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:309: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:155:30
|
[Transaction tool] › tests/transactionTests.test.js:175:3 › Transaction tests › Verify user can execute account delete tx:
automation/tests/transactionTests.test.js#L1
2) [Transaction tool] › tests/transactionTests.test.js:175:3 › Transaction tests › Verify user can execute account delete tx
Test timeout of 30000ms exceeded.
|
[Transaction tool] › tests/transactionTests.test.js:175:3 › Transaction tests › Verify user can execute account delete tx:
automation/pages/TransactionPage.js#L661
2) [Transaction tool] › tests/transactionTests.test.js:175: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:178:27
|
🎭 Playwright Run Summary
1 flaky
[Transaction tool] › tests/loginTests.test.js:47:3 › Login tests › Verify that login with incorrect password shows an error message
4 passed (50.9s)
|
🎭 Playwright Run Summary
1 flaky
[Transaction tool] › tests/settingsTests.test.js:52:3 › Settings tests › Verify that all elements in settings page are present
9 passed (59.6s)
|
🎭 Playwright Run Summary
1 flaky
[Transaction tool] › tests/registrationTests.test.js:79:3 › Registration tests › Verify elements on account setup page are correct
18 passed (2.2m)
|
🎭 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.3m)
|
🎭 Playwright Run Summary
2 flaky
[Transaction tool] › tests/transactionTests.test.js:154:3 › Transaction tests › Verify user can execute Account Create tx with complex key
[Transaction tool] › tests/transactionTests.test.js:175:3 › Transaction tests › Verify user can execute account delete tx
1 skipped
33 passed (4.3m)
|