Skip to content

Update the dropdown for my transactions and organisations #49

Update the dropdown for my transactions and organisations

Update the dropdown for my transactions and organisations #49

Triggered via pull request July 2, 2024 11:29
Status Failure
Total duration 19m 15s
Artifacts

test-frontend.yaml

on: pull_request
Build front-end
3m 52s
Build front-end
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

13 errors, 6 warnings, and 5 notices
[Transaction tool] › tests/settingsTests.test.js:51:3 › Settings tests › Verify that all elements in settings page are present: automation/tests/settingsTests.test.js#L20
1) [Transaction tool] › tests/settingsTests.test.js:51:3 › Settings tests › Verify that all elements in settings page are present "beforeAll" hook timeout of 30000ms exceeded. 18 | 19 | test.describe('Settings tests', () => { > 20 | test.beforeAll(async () => { | ^ 21 | ({ app, window } = await setupApp()); 22 | loginPage = new LoginPage(window); 23 | await loginPage.logout(); at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/settingsTests.test.js:20:8
[Transaction tool] › tests/settingsTests.test.js:51:3 › Settings tests › Verify that all elements in settings page are present: automation/pages/RegistrationPage.js#L110
1) [Transaction tool] › tests/settingsTests.test.js:51:3 › Settings tests › Verify that all elements in settings page are present Error: page.waitForTimeout: Target page, context or browser has been closed at pages/RegistrationPage.js:110 108 | `Attempt ${attempts + 1} to click ${this.finalNextButtonSelector} failed, retrying...`, 109 | ); > 110 | await this.window.waitForTimeout(1000); // Wait for 1 second before retrying | ^ 111 | attempts++; 112 | } 113 | } at RegistrationPage.clickOnFinalNextButtonWithRetry (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/RegistrationPage.js:110:27) at RegistrationPage.completeRegistration (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/RegistrationPage.js:264:5) at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/settingsTests.test.js:33:5
[Transaction tool] › tests/settingsTests.test.js:51:3 › Settings tests › Verify that all elements in settings page are present: automation/utils/electronAppLauncher.js#L5
1) [Transaction tool] › tests/settingsTests.test.js:51:3 › Settings tests › Verify that all elements in settings page are present Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: electron.launch: Target page, context or browser has been closed Browser logs: <launching> ../front-end/release/linux-unpacked/hedera-transaction-tool --inspect=0 --remote-debugging-port=0 <launched> pid=11177 [pid=11177][err] [11177:0702/114306.446624:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [pid=11177][err] Debugger listening on ws://127.0.0.1:36981/2e047917-1fc7-412c-9c18-09e8cc74b508 [pid=11177][err] For help, see: https://nodejs.org/en/docs/inspector [pid=11177][err] Debugger attached. [pid=11177][err] LaunchProcess: failed to execvp: [pid=11177][err] xdg-settings [pid=11177][err] [11177:0702/114308.149054:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [pid=11177][err] [11177:0702/114308.149994:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [pid=11177][err] [11177:0702/114308.150483:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [pid=11177][err] [11177:0702/114308.150865:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [pid=11177][err] [11177:0702/114308.153782:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [pid=11177][err] [11177:0702/114308.154107:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [pid=11177][err] [pid=11177][err] DevTools listening on ws://127.0.0.1:39105/devtools/browser/0a66824a-6277-4b9d-bc67-87538fad2b9b [pid=11177][err] [11177:0702/114308.205879:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 11250: Permission denied (13) [pid=11177][err] [11250:0702/114308.556266:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization [pid=11177][err] [11177:0702/114312.395700:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [pid=11177][err] [11177:0702/114312.468268:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [pid=11177][err] [11177:0702/114312.494289:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 11393: Permission denied (13) [pid=11177][out] Current migration: 20240613115954_nickname_optional_for_account [pid=11177][out] Database ready for usage [pid=11177][err] [11393:0702/114312.768828:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization [pid=11177] <process did exit: exitCode=null, signal=SIGBUS> [pid=11177] starting temporary directories cleanup at utils/electronAppLauncher.js:5 3 | 4 | async function launchHederaTransactionTool() { > 5 | return await electron.launch({ | ^ 6 | executablePath: process.env.EXECUTABLE_PATH, 7 | }); 8 | } at launchHederaTransactionTool (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/utils/electronAppLauncher.js:5:10) at setupApp (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/utils/util.js:8:15) at /runner/_work/hedera-transaction-tool/hedera-tra
[Transaction tool] › tests/workflowTests.test.js:482:3 › Workflow tests › Verify transaction details are displayed for account delete tx : automation/pages/BasePage.js#L26
1) [Transaction tool] › tests/workflowTests.test.js:482:3 › Workflow tests › Verify transaction details are displayed for account delete tx Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 1000ms exceeded. Call log: - waiting for getByTestId('p-account-delete-details-transfer-amount') to be visible at pages/BasePage.js:26 24 | console.log(`Getting text for element with testId: ${testId}`); 25 | const element = this.window.getByTestId(testId); > 26 | await element.waitFor({ state: 'visible', timeout: timeout }); | ^ 27 | return element.textContent(); 28 | } 29 | at DetailsPage.getTextByTestId (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:26:19) at DetailsPage.getAccountDeleteDetailsTransferAmount (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/DetailsPage.js:141:23) at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:501:53 at DetailsPage.assertTransactionDetails (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/DetailsPage.js:228:5) at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:491:5
[Transaction tool] › tests/workflowTests.test.js:482:3 › Workflow tests › Verify transaction details are displayed for account delete tx : automation/tests/workflowTests.test.js#L23
1) [Transaction tool] › tests/workflowTests.test.js:482:3 › Workflow tests › Verify transaction details are displayed for account delete tx Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── "beforeAll" hook timeout of 30000ms exceeded. 21 | 22 | test.describe('Workflow tests', () => { > 23 | test.beforeAll(async () => { | ^ 24 | ({ app, window } = await setupApp()); 25 | loginPage = new LoginPage(window); 26 | transactionPage = new TransactionPage(window); at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:23:8
[Transaction tool] › tests/workflowTests.test.js:482:3 › Workflow tests › Verify transaction details are displayed for account delete tx : automation/tests/workflowTests.test.js#L52
1) [Transaction tool] › tests/workflowTests.test.js:482:3 › Workflow tests › Verify transaction details are displayed for account delete tx Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot set properties of undefined (setting 'generatedAccounts') 50 | test.afterAll(async () => { 51 | // Ensure transactionPage generatedAccounts is empty > 52 | transactionPage.generatedAccounts = []; | ^ 53 | await transactionPage.closeCompletedTransaction(); 54 | await transactionPage.clickOnTransactionsMenuButton(); 55 | await transactionPage.closeDraftModal(); at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:52:38
[Transaction tool] › tests/workflowTests.test.js:482:3 › Workflow tests › Verify transaction details are displayed for account delete tx : automation/pages/BasePage.js#L26
1) [Transaction tool] › tests/workflowTests.test.js:482:3 › Workflow tests › Verify transaction details are displayed for account delete tx Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 1000ms exceeded. Call log: - waiting for getByTestId('p-account-delete-details-transfer-amount') to be visible at pages/BasePage.js:26 24 | console.log(`Getting text for element with testId: ${testId}`); 25 | const element = this.window.getByTestId(testId); > 26 | await element.waitFor({ state: 'visible', timeout: timeout }); | ^ 27 | return element.textContent(); 28 | } 29 | at DetailsPage.getTextByTestId (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:26:19) at DetailsPage.getAccountDeleteDetailsTransferAmount (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/DetailsPage.js:141:23) at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:501:53 at DetailsPage.assertTransactionDetails (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/DetailsPage.js:228:5) at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:491:5
[Transaction tool] › tests/workflowTests.test.js:342:3 › Workflow tests › Verify user can unlink multiple files: automation/pages/BasePage.js#L77
2) [Transaction tool] › tests/workflowTests.test.js:342:3 › Workflow tests › Verify user can unlink multiple files Error: Failed to retrieve non-empty text from element with testId: input-public-key after multiple attempts at pages/BasePage.js:77 75 | } 76 | > 77 | throw new Error( | ^ 78 | `Failed to retrieve non-empty text from element with testId: ${testId} after multiple attempts`, 79 | ); 80 | } at TransactionPage.getTextFromInputFieldByTestIdWithIndex (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:77:11) at TransactionPage.getPublicKeyText (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:1187:12) at TransactionPage.createFile (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:610:23) at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:346:24
[Transaction tool] › tests/workflowTests.test.js:342:3 › Workflow tests › Verify user can unlink multiple files: automation/tests/workflowTests.test.js#L23
2) [Transaction tool] › tests/workflowTests.test.js:342:3 › Workflow tests › Verify user can unlink multiple files Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── "beforeAll" hook timeout of 30000ms exceeded. 21 | 22 | test.describe('Workflow tests', () => { > 23 | test.beforeAll(async () => { | ^ 24 | ({ app, window } = await setupApp()); 25 | loginPage = new LoginPage(window); 26 | transactionPage = new TransactionPage(window); at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:23:8
[Transaction tool] › tests/workflowTests.test.js:342:3 › Workflow tests › Verify user can unlink multiple files: automation/tests/workflowTests.test.js#L52
2) [Transaction tool] › tests/workflowTests.test.js:342:3 › Workflow tests › Verify user can unlink multiple files Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot set properties of undefined (setting 'generatedAccounts') 50 | test.afterAll(async () => { 51 | // Ensure transactionPage generatedAccounts is empty > 52 | transactionPage.generatedAccounts = []; | ^ 53 | await transactionPage.closeCompletedTransaction(); 54 | await transactionPage.clickOnTransactionsMenuButton(); 55 | await transactionPage.closeDraftModal(); at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:52:38
WorkflowTests
Process completed with exit code 1.
[Transaction tool] › tests/transactionTests.test.js:170:3 › Transaction tests › Verify account is displayed in the account card section: automation/tests/transactionTests.test.js#L1
1) [Transaction tool] › tests/transactionTests.test.js:170:3 › Transaction tests › Verify account is displayed in the account card section Test timeout of 30000ms exceeded.
[Transaction tool] › tests/transactionTests.test.js:170:3 › Transaction tests › Verify account is displayed in the account card section: automation/pages/BasePage.js#L13
1) [Transaction tool] › tests/transactionTests.test.js:170:3 › Transaction tests › Verify account is displayed in the account card section TimeoutError: locator.click: Timeout 30000ms exceeded. Call log: - waiting for getByTestId('button-sign-and-submit') - locator resolved to <button disabled type="submit" class="btn btn-primary" d…>…</button> - attempting click action - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #1 - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #3 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #4 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #5 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #6 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #7 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #8 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #9 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #10 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #11 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #12 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #13 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #14 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #15 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #16 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #17 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #18 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #19 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #20 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #21 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #22 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying clic
Slow Test: automation/[Transaction tool] › tests/settingsTests.test.js#L1
automation/[Transaction tool] › tests/settingsTests.test.js took 27.3s
Slow Test: automation/[Transaction tool] › tests/registrationTests.test.js#L1
automation/[Transaction tool] › tests/registrationTests.test.js took 1.7m
Slow Test: automation/[Transaction tool] › tests/workflowTests.test.js#L1
automation/[Transaction tool] › tests/workflowTests.test.js took 3.3m
Slow Test: automation/[Transaction tool] › tests/transactionTests.test.js#L1
automation/[Transaction tool] › tests/transactionTests.test.js took 5.5m
🎭 Playwright Run Summary
5 passed (43.8s)
🎭 Playwright Run Summary
1 flaky [Transaction tool] › tests/settingsTests.test.js:51:3 › Settings tests › Verify that all elements in settings page are present 7 passed (1.6m)
🎭 Playwright Run Summary
19 passed (1.9m)
🎭 Playwright Run Summary
1 failed [Transaction tool] › tests/workflowTests.test.js:482:3 › Workflow tests › Verify transaction details are displayed for account delete tx 1 flaky [Transaction tool] › tests/workflowTests.test.js:342:3 › Workflow tests › Verify user can unlink multiple files 30 passed (6.1m)
🎭 Playwright Run Summary
1 flaky [Transaction tool] › tests/transactionTests.test.js:170:3 › Transaction tests › Verify account is displayed in the account card section 35 passed (6.4m)