Skip to content

Commit a9484bd

Browse files
chore: FIT-723: Investigate intermittent test failure (#8470)
Co-authored-by: yyassi-heartex <[email protected]>
1 parent 20e206e commit a9484bd

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

web/libs/editor/tests/e2e/tests/audio/audio-regions.test.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ FFlagMatrix(["fflag_feat_front_lsdv_e_278_contextual_scrolling_short"], (flags)
105105
AtOutliner.seeSelectedRegion();
106106
AtAudioView.clickAt(220);
107107
AtOutliner.dontSeeSelectedRegion();
108-
});
108+
})
109+
.tag("@flakey")
110+
.retry(3);
109111

110112
// Don't need to test this for both scenarios of flags, as it is the same code and is verified in the above test
111113
if (!flags.fflag_feat_front_lsdv_e_278_contextual_scrolling_short) {
@@ -151,7 +153,9 @@ FFlagMatrix(["fflag_feat_front_lsdv_e_278_contextual_scrolling_short"], (flags)
151153

152154
AtOutliner.dontSeeSelectedRegion();
153155
},
154-
);
156+
)
157+
.tag("@flakey")
158+
.retry(3);
155159

156160
FFlagScenario("Can select a region below a hidden region", async ({ I, LabelStudio, AtAudioView, AtOutliner }) => {
157161
LabelStudio.setFeatureFlags({
@@ -189,7 +193,9 @@ FFlagMatrix(["fflag_feat_front_lsdv_e_278_contextual_scrolling_short"], (flags)
189193
// click on the region below the hidden one to select it
190194
AtAudioView.clickAt(51);
191195
AtOutliner.seeSelectedRegion("Speech");
192-
});
196+
})
197+
.tag("@flakey")
198+
.retry(3);
193199

194200
FFlagScenario(
195201
"Selecting a region brings it to the front of the stack",

web/libs/editor/tests/e2e/tests/regression-tests/video-timeline-seek-indicator.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,4 +162,6 @@ Scenario("Seek view should be in sync with indicator position", async ({ I, Labe
162162
I.say("Seeker should now have moved to the left");
163163
assert.ok(indicatorBbox.x < indicatorPosX, "Seeker should have moved to the left from this one step movement");
164164
}
165-
});
165+
})
166+
.tag("@flakey")
167+
.retry(3);

web/libs/editor/tests/e2e/tests/sync/multiple-audio.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ Scenario("Play/pause of multiple synced audio stay in sync", async ({ I, LabelSt
6464
assert.notEqual(audioTime1, 0);
6565
assert.notEqual(audioTime2, 0);
6666
}
67-
});
67+
})
68+
.tag("@flakey")
69+
.retry(3);
6870

6971
/**
7072
* @TODO: Fix `The play() request was interrupted by a call to pause()`

web/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"lsf:e2e:slow": "DEFAULT_CPU_THROTTLING=100 yarn lsf:e2e",
1919
"lsf:e2e:parallel": "cd libs/editor/tests/e2e && yarn test:parallel",
2020
"lsf:e2e:ci": "cd libs/editor/tests/e2e && yarn test:ci",
21+
"lsf:e2e:flakey": "cd libs/editor/tests/e2e && yarn test:ci --grep \"@flakey\"",
2122
"lsf:integration": "nx run editor:integration",
2223
"lsf:integration:slow": "DEFAULT_CPU_THROTTLING=4 DEFAULT_NETWORK_THROTTLING=4g nx run editor:integration",
2324
"lsf:integration:watch": "nx run editor:integration --watch",

0 commit comments

Comments
 (0)