Skip to content

feat: save last connected organization #1662

feat: save last connected organization

feat: save last connected organization #1662

Triggered via pull request January 21, 2025 10:23
Status Cancelled
Total duration 9m 57s
Artifacts

test-frontend.yaml

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

Annotations

6 errors and 4 notices
[Transaction tool] › tests/loginTests.test.js:47:3 › Login tests › Verify that login with incorrect password shows an error message: automation/pages/RegistrationPage.js#L267
1) [Transaction tool] › tests/loginTests.test.js:47:3 › Login tests › Verify that login with incorrect password shows an error message 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/loginTests.test.js:32:5
[Transaction tool] › tests/settingsTests.test.js:127:3 › Settings tests › Verify user restored key pair is saved in the local database: automation/tests/settingsTests.test.js#L146
1) [Transaction tool] › tests/settingsTests.test.js:127:3 › Settings tests › Verify user restored key pair is saved in the local database Error: expect(received).toBe(expected) // Object.is equality Expected: true Received: false 144 | currentIndex, 145 | ); > 146 | expect(isKeyPairSavedInDatabase).toBe(true); | ^ 147 | 148 | // key pair was successfully restored, so we increment the index 149 | await settingsPage.incrementIndex(); at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/settingsTests.test.js:146:38
[Transaction tool] › tests/settingsTests.test.js:209:3 › Settings tests › Verify user can change password: automation/tests/settingsTests.test.js#L1
2) [Transaction tool] › tests/settingsTests.test.js:209:3 › Settings tests › Verify user can change password Test timeout of 30000ms exceeded.
[Transaction tool] › tests/settingsTests.test.js:209:3 › Settings tests › Verify user can change password: automation/pages/BasePage.js#L85
2) [Transaction tool] › tests/settingsTests.test.js:209:3 › Settings tests › Verify user can change password Error: locator.fill: Target page, context or browser has been closed at pages/BasePage.js:85 83 | console.log(`Filling element with selector: ${selector} with value: ${value}`); 84 | const element = this.getElement(selector, index); > 85 | await element.fill(value); | ^ 86 | } 87 | 88 | /** at LoginPage.fill (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:85:19) at LoginPage.resetForm (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/LoginPage.js:70:16) at LoginPage.logout (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/LoginPage.js:84:18) at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/settingsTests.test.js:219:5
Automation | Transactions
Canceling since a higher priority waiting request for 'pr-checks-Test Frontend-feat-save-last-connected-organization' exists
Automation | Transactions
The operation was canceled.
🎭 Playwright Run Summary
1 flaky [Transaction tool] › tests/loginTests.test.js:47:3 › Login tests › Verify that login with incorrect password shows an error message 4 passed (25.7s)
🎭 Playwright Run Summary
2 flaky [Transaction tool] › tests/settingsTests.test.js:127:3 › Settings tests › Verify user restored key pair is saved in the local database [Transaction tool] › tests/settingsTests.test.js:209:3 › Settings tests › Verify user can change password 8 passed (1.2m)
🎭 Playwright Run Summary
19 passed (1.7m)
🎭 Playwright Run Summary
1 skipped 31 passed (1.8m)