Tuesday, April 30, 2024
2 changes · saas-17.2
Resolved issues and error corrections
This fixes an internal automated test for the website shop so it consistently archives the intended product variant. It helps keep validation runs stable and prevents false failures during release checks.
Original PR description
The test was recently updated to try solving some non deterministic issue but on fw-port wasn't correctly adapted to test changes (in 17.2). It was still relying on sequences to know which combination to archive when no sequence was set on the attributes, therefore the expected variant was not archived (and the tour was failing). runbot issue 61125 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change makes an automated test wait properly for the command palette search results before checking them. It reduces random test failures in the web module, helping keep release validation stable without changing user-facing behavior.
Original PR description
The searh input of the command palette is debounced, so we have to wait some more before doing assertions on the results given by the command palette. Before this commit, one test crashed in a undeterministic manner. After this commit, that test passes everytime. runbot-error-57966 runbot-error-58752 runbot-error-61760 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr