Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] board: fix test failing every Saturdays #163712

Closed
wants to merge 1 commit into from

Conversation

aab-odoo
Copy link
Contributor

Commit [1] introduced a new board test involving calendar views. However, when this test was run on Saturday, it failed, because the event we tried to click on wasn't displayed (wrong week).

This commit fixes the test by enforcing date values on fake records and patching the current date.

[1] e5635c3

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

Commit [1] introduced a new board test involving calendar views.
However, when this test was run on Saturday, it failed, because the
event we tried to click on wasn't displayed (wrong week).

This commit fixes the test by enforcing date values on fake records
and patching the current date.

[1] odoo/odoo@e5635c3
@aab-odoo
Copy link
Contributor Author

@fw-bot ignore

@robodoo
Copy link
Contributor

robodoo commented Apr 29, 2024

@fw-bot
Copy link
Contributor

fw-bot commented Apr 29, 2024

Forward-port disabled.

@C3POdoo C3POdoo requested a review from a team April 29, 2024 06:53
Copy link
Contributor

@sdegueldre sdegueldre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@C3POdoo C3POdoo added the RD research & development, internal work label Apr 29, 2024
robodoo pushed a commit that referenced this pull request Apr 29, 2024
Commit [1] introduced a new board test involving calendar views.
However, when this test was run on Saturday, it failed, because the
event we tried to click on wasn't displayed (wrong week).

This commit fixes the test by enforcing date values on fake records
and patching the current date.

[1] e5635c3

closes #163712

Signed-off-by: Samuel Degueldre (sad) <sad@odoo.com>
@robodoo robodoo closed this Apr 29, 2024
willylohws pushed a commit to willylohws/odoo that referenced this pull request May 1, 2024
Commit [1] introduced a new board test involving calendar views.
However, when this test was run on Saturday, it failed, because the
event we tried to click on wasn't displayed (wrong week).

This commit fixes the test by enforcing date values on fake records
and patching the current date.

[1] odoo/odoo@e5635c3

closes odoo#163712

Signed-off-by: Samuel Degueldre (sad) <sad@odoo.com>
@fw-bot fw-bot deleted the 15.0-calendar-fix-aab branch May 13, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants