Skip to content
Snippets Groups Projects
Unverified Commit 45a88511 authored by github-automation-metabase's avatar github-automation-metabase Committed by GitHub
Browse files

fix flaky test on embed share behaviour snowplow events (#48665) (#48717)


* increase time tolerance to make tests less flaky on ci when CPU is under heavy load

* Update e2e/test/scenarios/sharing/public-sharing-embed-button-behavior.cy.spec.js



---------

Co-authored-by: default avatarNicolò Pretto <info@npretto.com>
Co-authored-by: default avatarUladzimir Havenchyk <125459446+uladzimirdev@users.noreply.github.com>
parent 35cd9691
No related branches found
No related tags found
No related merge requests found
......@@ -695,7 +695,7 @@ describe("#39152 sharing an unsaved question", () => {
new_embed: true,
time_since_creation: closeTo(
toSecond(Date.now() - this.timeAfterResourceCreation),
1,
15,
),
time_since_initial_publication: null,
params: {
......@@ -731,8 +731,8 @@ describe("#39152 sharing an unsaved question", () => {
event: "static_embed_published",
artifact: resource,
new_embed: false,
time_since_creation: closeTo(toSecond(HOUR), 10),
time_since_initial_publication: closeTo(toSecond(HOUR), 10),
time_since_creation: closeTo(toSecond(HOUR), 15),
time_since_initial_publication: closeTo(toSecond(HOUR), 15),
params: {
disabled: 1,
locked: 1,
......
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