Skip to content

feat: valid group start #1590

feat: valid group start

feat: valid group start #1590

Triggered via pull request January 14, 2025 06:58
Status Success
Total duration 12m 42s
Artifacts

test-frontend.yaml

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

Annotations

10 errors and 5 notices
[Transaction tool] › tests/settingsTests.test.js:88:3 › Settings tests › Verify user can delete key: automation/tests/settingsTests.test.js#L1
1) [Transaction tool] › tests/settingsTests.test.js:88:3 › Settings tests › Verify user can delete key Test timeout of 30000ms exceeded.
[Transaction tool] › tests/settingsTests.test.js:88:3 › Settings tests › Verify user can delete key: automation/pages/BasePage.js#L614
1) [Transaction tool] › tests/settingsTests.test.js:88: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:118:52
[Transaction tool] › tests/transactionTests.test.js:63:3 › Transaction tests › Verify that all elements on account create page are correct: automation/tests/transactionTests.test.js#L21
1) [Transaction tool] › tests/transactionTests.test.js:63:3 › Transaction tests › Verify that all elements on account create page are correct "beforeAll" hook timeout of 30000ms exceeded. 19 | 20 | test.describe('Transaction tests', () => { > 21 | test.beforeAll(async () => { | ^ 22 | await resetDbState(); 23 | ({ app, window } = await setupApp()); 24 | loginPage = new LoginPage(window); at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/transactionTests.test.js:21:8
[Transaction tool] › tests/transactionTests.test.js:63:3 › Transaction tests › Verify that all elements on account create page are correct: automation/pages/RegistrationPage.js#L267
1) [Transaction tool] › tests/transactionTests.test.js:63:3 › Transaction tests › Verify that all elements on account create page are correct 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:72:3 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx: automation/tests/transactionTests.test.js#L1
2) [Transaction tool] › tests/transactionTests.test.js:72:3 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[Transaction tool] › tests/transactionTests.test.js:72:3 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx: automation/pages/TransactionPage.js#L170
2) [Transaction tool] › tests/transactionTests.test.js:72:3 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Target page, context or browser has been closed at pages/TransactionPage.js:170 168 | 169 | async verifyConfirmTransactionInformation(typeTransaction) { > 170 | await this.window.waitForSelector( | ^ 171 | '[data-testid="modal-confirm-transaction"][style*="display: block"]', 172 | { state: 'visible', timeout: 10000 }, 173 | ); at TransactionPage.verifyConfirmTransactionInformation (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:170:23) at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/transactionTests.test.js:78:29
[Transaction tool] › tests/transactionTests.test.js:72:3 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx: automation/pages/RegistrationPage.js#L267
2) [Transaction tool] › tests/transactionTests.test.js:72:3 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── 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:154:3 › Transaction tests › Verify user can execute Account Create tx with complex key: automation/tests/transactionTests.test.js#L1
3) [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
3) [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:175:3 › Transaction tests › Verify user can execute account delete tx: automation/pages/TransactionPage.js#L661
4) [Transaction tool] › tests/transactionTests.test.js:175:3 › Transaction tests › Verify user can execute account delete tx Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── 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
🎭 Playwright Run Summary
5 passed (20.6s)
🎭 Playwright Run Summary
1 flaky [Transaction tool] › tests/settingsTests.test.js:88:3 › Settings tests › Verify user can delete key 9 passed (1.0m)
🎭 Playwright Run Summary
19 passed (1.7m)
🎭 Playwright Run Summary
1 skipped 31 passed (1.9m)
🎭 Playwright Run Summary
4 flaky [Transaction tool] › tests/transactionTests.test.js:63:3 › Transaction tests › Verify that all elements on account create page are correct [Transaction tool] › tests/transactionTests.test.js:72:3 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx [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 31 passed (5.3m)