Test Frontend #29
test-frontend.yaml
on: workflow_dispatch
Build front-end
2m 25s
Matrix: test
Annotations
4 errors, 4 warnings, and 5 notices
[Transaction tool] › tests/settingsTests.test.js:135:3 › Settings tests › Verify user can delete key:
automation/pages/BasePage.js#L12
1) [Transaction tool] › tests/settingsTests.test.js:135:3 › Settings tests › Verify user can delete key
TimeoutError: locator.waitFor: Timeout 1000ms exceeded.
Call log:
- waiting for getByTestId('tab-3') to be visible
at pages/BasePage.js:12
10 | console.log(`Clicking on element with testId: ${testId}`);
11 | const element = this.window.getByTestId(testId);
> 12 | await element.waitFor({ state: 'visible', timeout: timeout });
| ^
13 | await element.click();
14 | }
15 |
at SettingsPage.clickByTestId (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:12:19)
at SettingsPage.clickOnProfileTab (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/SettingsPage.js:140:16)
at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/settingsTests.test.js:173:24
|
[Transaction tool] › tests/settingsTests.test.js:135:3 › Settings tests › Verify user can delete key:
automation/utils/electronAppLauncher.js#L5
1) [Transaction tool] › tests/settingsTests.test.js:135:3 › Settings tests › Verify user can delete key
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=9012
[pid=9012][err] [9012:0627/082520.360027: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=9012][err] Debugger listening on ws://127.0.0.1:46181/4224c3ef-8283-4420-8a42-5e734447cf8b
[pid=9012][err] For help, see: https://nodejs.org/en/docs/inspector
[pid=9012][err] Debugger attached.
[pid=9012][err] LaunchProcess: failed to execvp:
[pid=9012][err] xdg-settings
[pid=9012][err] [9012:0627/082521.717975: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=9012][err] [9012:0627/082521.718126: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=9012][err] [9012:0627/082521.721429: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=9012][err] [9012:0627/082521.721525: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=9012][err] [9012:0627/082521.721584: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=9012][err] [9012:0627/082521.721628: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=9012][err] [9012:0627/082521.725989:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 9050: Permission denied (13)
[pid=9012][err]
[pid=9012][err] DevTools listening on ws://127.0.0.1:40231/devtools/browser/15785e17-b475-4c66-938b-4efad4c29895
[pid=9012][err] [9012:0627/082521.771329: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=9012][err] [9012:0627/082521.790550: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=9012][out] Current migration: 20240613115954_nickname_optional_for_account
[pid=9012][err] [9050:0627/082521.902268:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[pid=9012] <process did exit: exitCode=null, signal=SIGBUS>
[pid=9012] 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-transaction-tool/automation/tests/settingsTests.test.js:21:24
|
[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 29.5s
|
Slow Test:
automation/[Transaction tool] › tests/registrationTests.test.js#L1
automation/[Transaction tool] › tests/registrationTests.test.js took 1.5m
|
Slow Test:
automation/[Transaction tool] › tests/workflowTests.test.js#L1
automation/[Transaction tool] › tests/workflowTests.test.js took 2.4m
|
Slow Test:
automation/[Transaction tool] › tests/transactionTests.test.js#L1
automation/[Transaction tool] › tests/transactionTests.test.js took 4.4m
|
🎭 Playwright Run Summary
5 passed (24.1s)
|
🎭 Playwright Run Summary
1 flaky
[Transaction tool] › tests/settingsTests.test.js:135:3 › Settings tests › Verify user can delete key
7 passed (59.3s)
|
🎭 Playwright Run Summary
19 passed (1.6m)
|
🎭 Playwright Run Summary
32 passed (2.7m)
|
🎭 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 (4.9m)
|