Skip to content

Add allure reporting #28

Add allure reporting

Add allure reporting #28

Triggered via pull request June 27, 2024 07:29
Status Success
Total duration 12m 3s
Artifacts

test-frontend.yaml

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

Annotations

9 errors, 4 warnings, and 5 notices
[Transaction tool] › tests/workflowTests.test.js:192:3 › Workflow tests › Verify user can unlink accounts: automation/tests/workflowTests.test.js#L1
1) [Transaction tool] › tests/workflowTests.test.js:192:3 › Workflow tests › Verify user can unlink accounts Test timeout of 30000ms exceeded.
[Transaction tool] › tests/workflowTests.test.js:192:3 › Workflow tests › Verify user can unlink accounts: automation/pages/BasePage.js#L12
1) [Transaction tool] › tests/workflowTests.test.js:192:3 › Workflow tests › Verify user can unlink accounts Error: locator.waitFor: Target crashed Call log: - waiting for getByTestId('button-menu-transactions') 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 /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:238:18 at Function.step (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/node_modules/allure-playwright/src/helpers.ts:21:17) at TransactionPage.clickOnTransactionsMenuButton (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:237:25) at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:56:27
[Transaction tool] › tests/workflowTests.test.js:192:3 › Workflow tests › Verify user can unlink accounts: automation/pages/BasePage.js#L26
1) [Transaction tool] › tests/workflowTests.test.js:192:3 › Workflow tests › Verify user can unlink accounts Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.waitFor: Target crashed Call log: - waiting for getByTestId('p-transaction-details-id') 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 TransactionPage.getTextByTestId (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:26:19) at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:673:25 at Function.step (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/node_modules/allure-playwright/src/helpers.ts:21:17) at TransactionPage.getTransactionDetailsId (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:672:25) at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:600:37 at TransactionPage.createNewAccount (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:559:5) at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:544:9 at TransactionPage.ensureAccountExists (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:542:12) at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:194:5
[Transaction tool] › tests/workflowTests.test.js:625:3 › Workflow tests › Verify transaction details are displayed for file create tx : automation/pages/BasePage.js#L77
2) [Transaction tool] › tests/workflowTests.test.js:625:3 › Workflow tests › Verify transaction details are displayed for file create tx › Create File › Get Public Key Text 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 /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:1449:14 at TransactionPage.getPublicKeyText (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:1448:12) at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:684:25 at TransactionPage.createFile (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:679:5) at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:627:31
[Transaction tool] › tests/transactionTests.test.js:74:3 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx: automation/tests/transactionTests.test.js#L58
1) [Transaction tool] › tests/transactionTests.test.js:74:3 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx Test timeout of 30000ms exceeded while running "beforeEach" hook. 56 | }); 57 | > 58 | test.beforeEach(async () => { | ^ 59 | //await transactionPage.closeCompletedTransaction(); 60 | await transactionPage.clickOnTransactionsMenuButton(); 61 | await transactionPage.closeDraftModal(); at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/transactionTests.test.js:58:8
[Transaction tool] › tests/transactionTests.test.js:74: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:74:3 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx Error: locator.waitFor: Target crashed Call log: - waiting for getByTestId('button-menu-transactions') 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 /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:238:18 at Function.step (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/node_modules/allure-playwright/src/helpers.ts:21:17) at TransactionPage.clickOnTransactionsMenuButton (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:237:25) at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/transactionTests.test.js:50:27
[Transaction tool] › tests/transactionTests.test.js:132:3 › Transaction tests › Verify user can create account with max account associations: automation/tests/transactionTests.test.js#L1
2) [Transaction tool] › tests/transactionTests.test.js:132:3 › Transaction tests › Verify user can create account with max account associations › Execute account create tx › Click On Sign And Submit Button Test timeout of 30000ms exceeded.
[Transaction tool] › tests/transactionTests.test.js:132:3 › Transaction tests › Verify user can create account with max account associations: automation/pages/BasePage.js#L13
2) [Transaction tool] › tests/transactionTests.test.js:132:3 › Transaction tests › Verify user can create account with max account associations › Execute account create tx › Click On Sign And Submit Button 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, enable
[Transaction tool] › tests/transactionTests.test.js:231:3 › Transaction tests › Verify that account is updated after we execute an account update tx: automation/pages/TransactionPage.js#L932
3) [Transaction tool] › tests/transactionTests.test.js:231:3 › Transaction tests › Verify that account is updated after we execute an account update tx › Update Account › Click Sign Transaction Button 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:932 930 | return await allure.step('Click Sign Transaction Button', async () => { 931 | const modalSelector = `[data-testid="${this.confirmTransactionModalSelector}"][style*="display: block"]`; > 932 | await this.window.waitForSelector(modalSelector, { state: 'visible', timeout: 15000 }); | ^ 933 | 934 | const signButtonSelector = `${modalSelector} [data-testid="${this.buttonSignTransactionSelector}"]:enabled`; 935 | at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:932:25 at Function.step (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/node_modules/allure-playwright/src/helpers.ts:21:17) at TransactionPage.clickSignTransactionButton (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:930:25) at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:655:18 at TransactionPage.updateAccount (/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/TransactionPage.js:642:5) at /runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/transactionTests.test.js:237:27
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.4m
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.0m
🎭 Playwright Run Summary
5 passed (22.5s)
🎭 Playwright Run Summary
8 passed (33.2s)
🎭 Playwright Run Summary
19 passed (1.6m)
🎭 Playwright Run Summary
2 flaky [Transaction tool] › tests/workflowTests.test.js:192:3 › Workflow tests › Verify user can unlink accounts [Transaction tool] › tests/workflowTests.test.js:625:3 › Workflow tests › Verify transaction details are displayed for file create tx 30 passed (3.2m)
🎭 Playwright Run Summary
3 flaky [Transaction tool] › tests/transactionTests.test.js:74:3 › Transaction tests › Verify confirm transaction modal is displayed with valid information for Account Create tx [Transaction tool] › tests/transactionTests.test.js:132:3 › Transaction tests › Verify user can create account with max account associations [Transaction tool] › tests/transactionTests.test.js:231:3 › Transaction tests › Verify that account is updated after we execute an account update tx 33 passed (4.9m)