Skip to content

🎥 Make videos programmatically with React

Fix Element installation E2E flow

Igor Samokhovets517b0f07ca6f
diff --git a/packages/example/e2e/studio-protocol.test.mts b/packages/example/e2e/studio-protocol.test.mts
index 124e0aafea..ab1d2a5262 100644
--- a/packages/example/e2e/studio-protocol.test.mts
+++ b/packages/example/e2e/studio-protocol.test.mts
@@ -510,9 +510,15 @@ const CloseupPlaceholder = () => {
await expect(studioPage).toHaveURL(/ProtocolElementScene/, {
timeout: 30_000,
});
+ await expect(
+ studioPage
+ .getByRole('group', {name: 'Inspector source location'})
+ .first(),
+ ).toContainText('Protocol Element', {timeout: 30_000});
await studioPage.bringToFront();
- await studioPage.mouse.click(500, 300);
+ await studioPage.keyboard.press('Escape');
+ await expect(browseElements).toBeVisible();
await expect
.poll(() =>
fetch(`${studioUrl}/api/studio-protocol`, {