Friday, September 27, 2024
2 changes · saas-17.4
Enhancements to existing features
Spreadsheet-related automated tests now skip most visual grid drawing when it is not needed, reducing unnecessary processing during test execution. This helps developers get faster feedback while keeping drawing available in debug mode for troubleshooting.
Original PR description
Following the same optimization as in [1], we can bypass the canvas drawing of spreadsheet in the tests (as long as) we don't need it. This revision adds a generic patch that will disable the major part of the grid drawing of a spreadsheet while letting it enabled in debug mode for.. debug reasons. Currently, the time spent in drawGrid is around 12~14% (depending on the screen size) when executing spreadsheet edition related tests (see task). This revision makes it drop to 0.5%. [1]: https://github.com/odoo/o-spreadsheet/commit/d3036999989bb0d611ff8c3a05c7e0c2aa60dd49 task-4214049 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
This update adds automated test coverage for a passkey verification detail related to user verification. It helps ensure sign-in security behavior remains reliable when future changes are made.
Original PR description
Following 8b9bd6f88eb313dd29b05fc2decff77e6aff8bb8 Add a unit test to cover the UV flag for the webauthn protocol.