Closed Mai-Saad closed 2 months ago
3.17 Results on PR now https://filetransfer.io/data-package/tncWYOQg#link failed test is due to DB error (which shall be ignored) .. @wp-media/engineering-plugin-team can anyone please pull the branch and npm run test:smoke
there to confirm results.
Note: sometimes and probably with low internet connection, tests may fail and timeout
@Mai-Saad, same results as with you on my end, 7 passed 1 failed, but a different one. Test results below: hannameda-wp-rocket-e2e-test-results-cucumber-report-html-2024-09-18-18_00_21.pdf
A couple of failing tests because of the already existing table errors. So I'd say good on my side. debug-roll-back-from-the-tools-tab.log debug-enable-all-features.log
A few notes:
It works on my side, with errors mentioned before by @MathieuLamiot . Good on my side too.
Description
This PR attempts to solve smoke test errors related to
this.page.waitForLoadState('load', { timeout: 30000 });
and refactor where needed for logicNote: still some tests are failing so it's WIP
Fixes #133 partially
Type of change
Detailed scenario
Sometimes tests are failing as
this.page.waitForLoadState('load', { timeout: 30000 });
timeout so here we replaced some of waitforload with assertion + some logic refactorTechnical description
Documentation
timeout:30000
in some places with an assertion and decreases wait time in other partsNew dependencies
No
Risks
No
Mandatory Checklist
Code validation
Code style
Additional Checks