fix: error handling try statements #1391
Annotations
1 error and 1 notice
run automation:
automation/pages/BasePage.js#L614
1) [Transaction tool] › tests/workflowTests.test.js:336:3 › Workflow tests › Verify user can unlink multiple files
Error: locator.count: Target crashed
at pages/BasePage.js:614
612 | : `[data-testid^="${selectorPrefix}"]`;
613 | const elements = this.window.locator(selector);
> 614 | const count = await elements.count();
| ^
615 | console.log(`Found ${count} elements with prefix: ${selectorPrefix}`);
616 | return count;
617 | }
at FilePage.countElements (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/BasePage.js:614:34)
at FilePage.findFileByIndex (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/FilePage.js:161:30)
at FilePage.isFileCardVisible (/home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/pages/FilePage.js:177:30)
at /home/runner/_work/hedera-transaction-tool/hedera-transaction-tool/automation/tests/workflowTests.test.js:353:31
|
run automation
1 flaky
[Transaction tool] › tests/workflowTests.test.js:336:3 › Workflow tests › Verify user can unlink multiple files
1 skipped
30 passed (2.2m)
|
Loading