Update scatter-chart-updates.test.ts

This commit is contained in:
Nate Kelley 2025-05-13 12:17:30 -06:00
parent 39e6fa4d94
commit 8c415767e0
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ import { test, expect } from '@playwright/test';
test.describe.serial('Create a scatter plot with a question', () => {
const question = `I want to understand if there's a relationship between how much an employee sells and the number of orders they process. Can you generate a scatter plot showing each employee's total sales amount on one axis and their total number of orders on the other axis for the last 12 months?`;
let scatterURL = '';
test(`I can create a scatter plot with a question: ${question}`, async ({ page }) => {
test.skip(`I can create a scatter plot with a question: ${question}`, async ({ page }) => {
await page.goto('http://localhost:3000/app/home');
await page.getByRole('textbox', { name: 'Ask Buster a question...' }).click();
await page.getByRole('textbox', { name: 'Ask Buster a question...' }).fill(question);
@ -35,7 +35,7 @@ test.describe.serial('Create a scatter plot with a question', () => {
// scatterURL =
// 'http://localhost:3000/app/chats/84c1d148-4056-4aca-8741-29f2d11619c2/metrics/8c1e2db2-1cbb-532a-bf36-040c2431c7f3/chart?metric_version_number=1&secondary_view=chart-edit';
test(`I can update the scatter plot`, async ({ page }) => {
test.skip(`I can update the scatter plot`, async ({ page }) => {
await page.goto(scatterURL);
await expect(page.getByTestId('edit-chart-button').getByRole('button')).toBeVisible();
await page.getByTestId('edit-chart-button').getByRole('button').click();
@ -57,7 +57,7 @@ test.describe.serial('Create a scatter plot with a question', () => {
// scatterURL =
// 'http://localhost:3000/app/metrics/8c1e2db2-1cbb-532a-bf36-040c2431c7f3/chart?secondary_view=chart-edit';
test(`I can add a trend line`, async ({ page }) => {
test.skip(`I can add a trend line`, async ({ page }) => {
await page.goto(scatterURL);
await page.waitForTimeout(100);
await page.getByTestId('segmented-trigger-Styling').click();