Skip to content

fix: personal group transactions #1677

fix: personal group transactions

fix: personal group transactions #1677

Triggered via pull request January 22, 2025 09:39
Status Success
Total duration 10m 5s
Artifacts

test-frontend.yaml

on: pull_request
Build | Front-end
2m 34s
Build | Front-end
Matrix: unit-test
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 5 notices
[Transaction tool] › tests/settingsTests.test.js:127:3 › Settings tests › Verify user restored key pair is saved in the local database: automation/tests/settingsTests.test.js#L146
1) [Transaction tool] › tests/settingsTests.test.js:127:3 › Settings tests › Verify user restored key pair is saved in the local database Error: expect(received).toBe(expected) // Object.is equality Expected: true Received: false 144 | currentIndex, 145 | ); > 146 | expect(isKeyPairSavedInDatabase).toBe(true); | ^ 147 | 148 | // key pair was successfully restored, so we increment the index 149 | await settingsPage.incrementIndex(); at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/settingsTests.test.js:146:38
[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/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 #1 ─────────────────────────────────────────────────────────────────────────────────────── 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
[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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 15000ms exceeded. 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:178:27
[Transaction tool] › tests/transactionTests.test.js:175:3 › Transaction tests › Verify user can execute account delete tx: automation/pages/BasePage.js#L495
2) [Transaction tool] › tests/transactionTests.test.js:175:3 › Transaction tests › Verify user can execute account delete tx Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Failed to retrieve text from element with selector: dropdown-payer after 5 attempts at pages/BasePage.js:495 493 | } 494 | > 495 | throw new Error( | ^ 496 | `Failed to retrieve text from element with selector: ${selector} after ${retries} attempts`, 497 | ); 498 | } at TransactionPage.getTextWithRetry (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:495:11) at TransactionPage.fillInTransferAccountId (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:790:31) at TransactionPage.deleteAccount (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:447:5) at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/transactionTests.test.js:178:27
🎭 Playwright Run Summary
5 passed (20.2s)
🎭 Playwright Run Summary
1 flaky [Transaction tool] › tests/settingsTests.test.js:127:3 › Settings tests › Verify user restored key pair is saved in the local database 9 passed (32.9s)
🎭 Playwright Run Summary
19 passed (1.6m)
🎭 Playwright Run Summary
1 skipped 31 passed (1.8m)
🎭 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.4m)