Skip to content

Commit

Permalink
Remove new/ai e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-gordon committed Aug 15, 2024
1 parent b90d4e6 commit 993763c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions app/e2e/pro.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,20 +115,6 @@ test("Go to Sandbox. Save Sandbox Chart", async () => {
await expect(page).toHaveURL(new RegExp(`${BASE_URL}/u/\\d+`));
});

test("Create chart from AI", async () => {
await page.getByTestId("new-chart-link").click();
await page.getByTestId("Use AI").click();
await page.locator('textarea[name="subject"]').click();
await page
.locator('textarea[name="subject"]')
.fill("the stages of the water cycle");
await page.getByTestId("Create Chart").click();
// expect url to be regex BASE_URL + /u/\d+
await expect(page).toHaveURL(new RegExp(`${BASE_URL}/u/\\d+`), {
timeout: 1000 * 60 * 4,
});
});

test("Create chart from imported data", async () => {
try {
await page.getByTestId("new-chart-link").click();
Expand Down

0 comments on commit 993763c

Please sign in to comment.