Skip to content

Added confirm delete account modal #43

Added confirm delete account modal

Added confirm delete account modal #43

Triggered via pull request July 2, 2024 07:11
Status Success
Total duration 15m 41s
Artifacts

test-frontend.yaml

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

Annotations

4 errors, 4 warnings, and 5 notices
[Transaction tool] › tests/workflowTests.test.js:68:3 › Workflow tests › Verify account card is visible with valid information: automation/utils/electronAppLauncher.js#L5
1) [Transaction tool] › tests/workflowTests.test.js:68:3 › Workflow tests › Verify account card is visible with valid information 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=8501 [pid=8501][err] [8501:0702/072246.666291: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=8501][err] Debugger listening on ws://127.0.0.1:45653/a63a6ba5-fff1-4f8f-9f4f-a1945d5c7847 [pid=8501][err] For help, see: https://nodejs.org/en/docs/inspector [pid=8501][err] Debugger attached. [pid=8501][err] LaunchProcess: failed to execvp: [pid=8501][err] xdg-settings [pid=8501][err] [8501:0702/072247.996534: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=8501][err] [8501:0702/072247.996705: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=8501][err] [8501:0702/072248.000260: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=8501][err] [8501:0702/072248.000351: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=8501][err] [8501:0702/072248.000404: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=8501][err] [8501:0702/072248.000449: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=8501][err] [8501:0702/072248.003760:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 8588: Permission denied (13) [pid=8501][err] [pid=8501][err] DevTools listening on ws://127.0.0.1:45699/devtools/browser/bf5c4cf0-e306-475c-9bc7-31bf5501cf26 [pid=8501][err] [8501:0702/072248.055522: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=8501][err] [8501:0702/072248.075310: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=8501][out] Current migration: [pid=8501][err] [8588:0702/072248.181504:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization [pid=8501][err] [8501:0702/072248.193310:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 8704: Permission denied (13) [pid=8501][out] Applying migration: 20240207141145_init [pid=8501][out] Applying migration: 20240208114842_rename_key_id_in_transaction [pid=8501][out] Applying migration: 20240215101056_transaction_drafts_added [pid=8501][out] Applying migration: 20240221093952_hedera_file_info_extended [pid=8501][out] Applying migration: 20240223122415_make_hedera_file_nickname_nullable [pid=8501][out] Applying migration: 20240227161507_last_refreshed_field_added [pid=8501][out] Applying migration: 20240227162523_is_template_field_added_in_transactions_draft [pid=8501][out] Applying migration: 20240307071820_complex_key_added [pid=8501][out] Applying migration: 20240321131257_organizations_added [pid=8501][out] Applying migration: 20240322100208_jwt_added_in_credentials [pid=8501][out] Applying migration: 20240401140043_removed_unique_constraint_on_organizations [pid=8501][out] Applying migration: 20240422080731_user_id_in_organization_fields_added [pid=8501][out] Applying migration: 20240422095336_add_contact
[Transaction tool] › tests/transactionTests.test.js:71:3 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx: automation/pages/BasePage.js#L12
1) [Transaction tool] › tests/transactionTests.test.js:71:3 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx TimeoutError: locator.waitFor: Timeout 1000ms exceeded. Call log: - waiting for getByTestId('button-create-new') 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 TransactionPage.clickByTestId (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:12:19) at TransactionPage.clickOnCreateNewTransactionButton (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:232:16) at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/transactionTests.test.js:72:27
[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
2) [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
2) [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 23.1s
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.0m
Slow Test: automation/[Transaction tool] › tests/transactionTests.test.js#L1
automation/[Transaction tool] › tests/transactionTests.test.js took 3.8m
🎭 Playwright Run Summary
5 passed (24.4s)
🎭 Playwright Run Summary
8 passed (37.0s)
🎭 Playwright Run Summary
19 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 31 passed (2.3m)
🎭 Playwright Run Summary
2 flaky [Transaction tool] › tests/transactionTests.test.js:71:3 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx [Transaction tool] › tests/transactionTests.test.js:170:3 › Transaction tests › Verify account is displayed in the account card section 34 passed (4.6m)