Skip to content
Snippets Groups Projects
Commit 9ab5f20a authored by Benoit Socias's avatar Benoit Socias
Browse files

[IMP] website: test unsplash beacon


This commit ensures that the unsplash beacon calls home when an unsplash
image appears on a page.

To achieve this it patches the RPC call when the test URL contains the
test name as parameter. The patch cancels the actual beacon call to
avoid polluting data during the test, but marks the image as having had
its beacon message sent. The test then simply checks if this marker
appears on the image.

task-3360109

closes odoo/odoo#126370

X-original-commit: 1b9e8103
Signed-off-by: default avatarOutagant Mehdi (mou) <mou@odoo.com>
Signed-off-by: default avatarBenoit Socias (bso) <bso@odoo.com>
parent b57bed75
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment