8000 [FW][FIX] website_payment: split test to avoid iframe issue by fw-bot · Pull Request #210494 · odoo/odoo · GitHub
[go: up one dir, main page]

Skip to content

[FW][FIX] website_payment: split test to avoid iframe issue #210494

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

Conversation

fw-bot
Copy link
Contributor
@fw-bot fw-bot commented May 17, 2025

On slow networks, users or runbot may click checkboxes before the
JavaScript is fully loaded by the lazy loader, causing event handlers
to not be attached.

Fix: Split the test into two separate tours. One while logged in for
donation configuration, and another while logged out to test it, since
the issue does not occur when the iframe is not present.

Tested with a custom multi-build and the test do not fail anymore

runbot-77224

Forward-Port-Of: #210238
Forward-Port-Of: #179885

alessandro-caldonazzi and others added 2 commits May 17, 2025 06:36
On slow networks, users or runbot may click checkboxes before the
JavaScript is fully loaded by the lazy loader, causing event handlers
to not be attached.

While test tours are supposed to be robust enough to wait for that, it
was decided to split the test into two separate tours, as testing the
donation form use from a non-admin is also better. So: one part while
logged in as admin for donation configuration, and another while logged
in as portal user to test it (we use a portal user so that the 
8000
form
still autocompletes with base user information).

runbot-77224

X-original-commit: c4418cd
Co-authored-by: qsm-odoo <qsm@odoo.com>
Since the new tour system that was introduced through many commits
leading to 18.0, this donation test was left with errors and/or useless
things.

Related to runbot-77224

X-original-commit: 74c9c92
@robodoo
Copy link
Contributor
robodoo commented May 17, 2025

Pull request status dashboard

@robodoo robodoo added the forwardport This PR was created by @fw-bot label May 17, 2025
@fw-bot
Copy link
Contributor Author
fw-bot commented May 17, 2025

@alessandro-caldonazzi @qsm-odoo this PR targets master and is the last of the forward-port chain.

To merge the full chain, use

@robodoo r+

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@C3POdoo C3POdoo added the RD research & development, internal work label May 17, 2025
Copy link
Contributor
@qsm-odoo qsm-odoo left a comment

Choose a reason for hiding this comment

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

@robodoo rebase-ff r+

@robodoo
Copy link
Contributor
robodoo commented May 19, 2025

Merge method set to rebase and fast-forward.

robodoo pushed a commit that referenced this pull request May 20, 2025
On slow networks, users or runbot may click checkboxes before the
JavaScript is fully loaded by the lazy loader, causing event handlers
to not be attached.

While test tours are supposed to be robust enough to wait for that, it
was decided to split the test into two separate tours, as testing the
donation form use from a non-admin is also better. So: one part while
logged in as admin for donation configuration, and another while logged
in as portal user to test it (we use a portal user so that the form
still autocompletes with base user information).

runbot-77224

X-original-commit: c4418cd
Part-of: #210494
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Co-authored-by: qsm-odoo <qsm@odoo.com>
robodoo pushed a commit that referenced this pull request May 20, 2025
Since the new tour system that was introduced through many commits
leading to 18.0, this donation test was left with errors and/or useless
things.

Related to runbot-77224

closes #210494

X-original-commit: 74c9c92
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
robodoo pushed a commit that referenced this pull request May 20, 2025
On slow networks, users or runbot may click checkboxes before the
JavaScript is fully loaded by the lazy loader, causing event handlers
to not be attached.

While test tours are supposed to be robust enough to wait for that, it
was decided to split the test into two separate tours, as testing the
donation form use from a non-admin is also better. So: one part while
logged in as admin for donation configuration, and another while logged
in as portal user to test it (we use a portal user so that the form
still autocompletes with base user information).

runbot-77224

X-original-commit: c4418cd
Part-of: #210494
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Co-authored-by: qsm-odoo <qsm@odoo.com>
robodoo pushed a commit that referenced this pull request May 20, 2025
Since the new tour system that was introduced through many commits
leading to 18.0, this donation test was left with errors and/or useless
things.

Related to runbot-77224

closes #210494

X-original-commit: 74c9c92
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
robodoo pushed a commit that referenced this pull request May 20, 2025
On slow networks, users or runbot may click checkboxes before the
JavaScript is fully loaded by the lazy loader, causing event handlers
to not be attached.

While test tours are supposed to be robust enough to wait for that, it
was decided to split the test into two separate tours, as testing the
donation form use from a non-admin is also better. So: one part while
logged in as admin for donation configuration, and another while logged
in as portal user to test it (we use a portal user so that the form
still autocompletes with base user information).

runbot-77224

X-original-commit: c4418cd
Part-of: #210494
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Co-authored-by: qsm-odoo <qsm@odoo.com>
robodoo pushed a commit that referenced this pull request May 20, 2025
Since the new tour system that was introduced through many commits
leading to 18.0, this donation test was left with errors and/or useless
things.

Related to runbot-77224

closes #210494

X-original-commit: 74c9c92
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
robodoo pushed a commit that referenced this pull request May 20, 2025
On slow networks, users or runbot may click checkboxes before the
JavaScript is fully loaded by the lazy loader, causing event handlers
to not be attached.

While test tours are supposed to be robust enough to wait for that, it
was decided to split the test into two separate tours, as testing the
donation form use from a non-admin is also better. So: one part while
logged in as admin for donation configuration, and another while logged
in as portal user to test it (we use a portal user so that the form
still autocompletes with base user information).

runbot-77224

X-original-commit: c4418cd
Part-of: #210494
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Co-authored-by: qsm-odoo <qsm@odoo.com>
robodoo pushed a commit that referenced this pull request May 20, 2025
Since the new tour system that was introduced through many commits
leading to 18.0, this donation test was left with errors and/or useless
things.

Related to runbot-77224

closes #210494

X-original-commit: 74c9c92
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
robodoo pushed a commit that referenced this pull request May 20, 2025
On slow networks, users or runbot may click checkboxes before the
JavaScript is fully loaded by the lazy loader, causing event handlers
to not be attached.

While test tours are supposed to be robust enough to wait for that, it
was decided to split the test into two separate tours, as testing the
donation form use from a non-admin is also better. So: one part while
logged in as admin for donation configuration, and another while logged
in as portal user to test it (we use a portal user so that the form
still autocompletes with base user information).

runbot-77224

X-original-commit: c4418cd
Part-of: #210494
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Co-authored-by: qsm-odoo <qsm@odoo.com>
robodoo pushed a commit that referenced this pull request May 20, 2025
Since the new tour system that was introduced through many commits
leading to 18.0, this donation test was left with errors and/or useless
things.

Related to runbot-77224

closes #210494

X-original-commit: 74c9c92
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
robodoo pushed a commit that referenced this pull request May 20, 2025
On slow networks, users or runbot may click checkboxes before the
JavaScript is fully loaded by the lazy loader, causing event handlers
to not be attached.

While test tours are supposed to be robust enough to wait for that, it
was decided to split the test into two separate tours, as testing the
donation form use from a non-admin is also better. So: one part while
logged in as admin for donation configuration, and another while logged
in as portal user to test it (we use a portal user so that the form
still autocompletes with base user information).

runbot-77224

X-original-commit: c4418cd
Part-of: #210494
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Co-authored-by: qsm-odoo <qsm@odoo.com>
robodoo pushed a commit that referenced this pull request May 20, 2025
Since the new tour system that was introduced through many commits
leading to 18.0, this donation test was left with errors and/or useless
things.

Related to runbot-77224

closes #210494

X-original-commit: 74c9c92
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
@robodoo robodoo closed this May 20, 2025
@robodoo robodoo added the 18.4 label May 20, 2025
@qsm-odoo qsm-odoo deleted the master-saas-17.2-fix-random-test-fail-website-payment-alca-436533-fw branch May 21, 2025 16:08
fdardenne pushed a commit to odoo-dev/odoo that referenced this pull request May 26, 2025
On slow networks, users or runbot may click checkboxes before the
JavaScript is fully loaded by the lazy loader, causing event handlers
to not be attached.

While test tours are supposed to be robust enough to wait for that, it
was decided to split the test into two separate tours, as testing the
donation form use from a non-admin is also better. So: one part while
logged in as admin for donation configuration, and another while logged
in as portal user to test it (we use a portal user so that the form
still autocompletes with base user information).

runbot-77224

X-original-commit: c4418cd
Part-of: odoo#210494
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Co-authored-by: qsm-odoo <qsm@odoo.com>
fdardenne pushed a commit to odoo-dev/odoo that referenced this pull request May 26, 2025
Since the new tour system that was introduced through many commits
leading to 18.0, this donation test was left with errors and/or useless
things.

Related to runbot-77224

closes odoo#210494

X-original-commit: 74c9c92
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
18.4 forwardport This PR was created by @fw-bot RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0