feat: allow creation of sign-only transactions and export them (#1440) #1591
test-frontend.yaml
on: push
Build | Front-end
2m 27s
Matrix: unit-test
Matrix: test
Annotations
17 errors and 5 notices
[Transaction tool] › tests/settingsTests.test.js:228:3 › Settings tests › Verify user can change key nickname:
automation/tests/settingsTests.test.js#L233
1) [Transaction tool] › tests/settingsTests.test.js:228:3 › Settings tests › Verify user can change key nickname
Error: expect(received).toBe(expected) // Object.is equality
Expected: "testChangeNickname"
Received: "N/A"
231 | await settingsPage.changeNicknameForFirstKey(newNickname);
232 | const keyData = await settingsPage.getRowDataByIndex(0);
> 233 | expect(keyData.nickname.trim()).toBe(newNickname);
| ^
234 | });
235 |
236 | test('Verify user can set global max tx fee', async () => {
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/settingsTests.test.js:233:37
|
[Transaction tool] › tests/settingsTests.test.js:228:3 › Settings tests › Verify user can change key nickname:
automation/tests/settingsTests.test.js#L233
1) [Transaction tool] › tests/settingsTests.test.js:228:3 › Settings tests › Verify user can change key nickname
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "testChangeNickname"
Received: "N/A"
231 | await settingsPage.changeNicknameForFirstKey(newNickname);
232 | const keyData = await settingsPage.getRowDataByIndex(0);
> 233 | expect(keyData.nickname.trim()).toBe(newNickname);
| ^
234 | });
235 |
236 | test('Verify user can set global max tx fee', async () => {
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/settingsTests.test.js:233:37
|
[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#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/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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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/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
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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: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/TransactionPage.js#L661
1) [Transaction tool] › tests/transactionTests.test.js:154:3 › Transaction tests › Verify user can execute Account Create tx with complex key
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/transactionTests.test.js:155:30
|
[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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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/TransactionPage.js#L661
1) [Transaction tool] › tests/transactionTests.test.js:154:3 › Transaction tests › Verify user can execute Account Create tx with complex key
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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/transactionTests.test.js:155:30
|
[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
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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/TransactionPage.js#L661
1) [Transaction tool] › tests/transactionTests.test.js:154:3 › Transaction tests › Verify user can execute Account Create tx with complex key
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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/transactionTests.test.js:155:30
|
[Transaction tool] › tests/transactionTests.test.js:154:3 › Transaction tests › Verify user can execute Account Create tx with complex key:
automation/pages/RegistrationPage.js#L267
1) [Transaction tool] › tests/transactionTests.test.js:154:3 › Transaction tests › Verify user can execute Account Create tx with complex key
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
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/transactionTests.test.js:36:5
|
Automation | Transactions
Process completed with exit code 1.
|
🎭 Playwright Run Summary
5 passed (19.8s)
|
🎭 Playwright Run Summary
1 flaky
[Transaction tool] › tests/settingsTests.test.js:228:3 › Settings tests › Verify user can change key nickname
9 passed (41.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 (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 (3.6m)
|
🎭 Playwright Run Summary
1 failed
[Transaction tool] › tests/transactionTests.test.js:154:3 › Transaction tests › Verify user can execute Account Create tx with complex key
1 skipped
34 passed (4.8m)
|