Skip to content

🎥 Make videos programmatically with React

Update license settings E2E test

JonnyBurger146380bb855f
diff --git a/packages/example/e2e/studio.test.mts b/packages/example/e2e/studio.test.mts
index 03f8193da2..2ca60719db 100644
--- a/packages/example/e2e/studio.test.mts
+++ b/packages/example/e2e/studio.test.mts
@@ -1155,7 +1155,9 @@ test.describe('visual mode', () => {
dialog.getByTitle('Default coding agent', {exact: true}),
).toContainText('Codex');
await dialog.getByText('License', {exact: true}).click();
- const freeLicenseToggle = dialog.locator('input[name="free-license"]');
+ const freeLicenseToggle = dialog.getByRole('radio', {
+ name: 'I am eligible for the Free License',
+ });
await expect(freeLicenseToggle).toBeChecked();
expect({codingAgentInfoRequests, editorInfoRequests}).toEqual({
codingAgentInfoRequests: 1,