Skip to content

🎥 Make videos programmatically with React

Fix Element Library E2E flow

JonnyBurgere3e3e43dc650
diff --git a/packages/example/e2e/studio-protocol.test.mts b/packages/example/e2e/studio-protocol.test.mts
index ed9292f9f4..802ba26ed2 100644
--- a/packages/example/e2e/studio-protocol.test.mts
+++ b/packages/example/e2e/studio-protocol.test.mts
@@ -905,6 +905,10 @@ const CloseupPlaceholder = () => {
await expect
.poll(() => fs.readFileSync(configFile, 'utf8'), {timeout: 30_000})
.toContain(protocolLibraryUrl);
+ await expect(studioPage.getByLabel('Protocol Library library')).toBeVisible(
+ {timeout: 30_000},
+ );
+ await studioPage.keyboard.press('Escape');
await browseElements.click();
await expect(
@@ -937,6 +941,10 @@ const CloseupPlaceholder = () => {
{timeout: 30_000},
)
.toBe(1);
+ await expect(studioPage.getByLabel('Protocol Library library')).toBeVisible(
+ {timeout: 30_000},
+ );
+ await studioPage.keyboard.press('Escape');
await studioPage.bringToFront();
await studioPage.mouse.click(500, 300);