mirror of
https://github.com/nasa/openmct.git
synced 2025-04-07 19:34:25 +00:00
fix(e2e): temp fix for appAction test flake (#6226)
This commit is contained in:
parent
21ce013df2
commit
9c784398b3
@ -235,6 +235,12 @@ async function expandEntireTree(page, treeName = "Main Tree") {
|
||||
|
||||
while (await collapsedTreeItems.count() > 0) {
|
||||
await collapsedTreeItems.nth(0).click();
|
||||
|
||||
// FIXME: Replace hard wait with something event-driven.
|
||||
// Without the wait, this fails periodically due to a race condition
|
||||
// with Vue rendering (loop exits prematurely).
|
||||
// eslint-disable-next-line playwright/no-wait-for-timeout
|
||||
await page.waitForTimeout(200);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user