[e2e] Update remaining tests and add missing comparison coverage (#7363)

This commit is contained in:
John Hill
2024-01-11 14:47:00 -08:00
committed by GitHub
parent 6fd7b6f7a3
commit 6ce340cebd
88 changed files with 561 additions and 382 deletions

View File

@ -87,7 +87,7 @@ test.describe('Overlay Plot', () => {
expect(await page.locator('.c-plot-limit-line').count()).toBe(0);
// Enter edit mode
await page.click('button[title="Edit"]');
await page.getByLabel('Edit Object').click();
// Expand the "Sine Wave Generator" plot series options and enable limit lines
await page.getByRole('tab', { name: 'Config' }).click();
@ -114,7 +114,7 @@ test.describe('Overlay Plot', () => {
await assertLimitLinesExistAndAreVisible(page);
// Enter edit mode
await page.click('button[title="Edit"]');
await page.getByLabel('Edit Object').click();
await page.getByRole('tab', { name: 'Elements' }).click();
@ -165,7 +165,7 @@ test.describe('Overlay Plot', () => {
});
await page.goto(overlayPlot.url);
await page.click('button[title="Edit"]');
await page.getByLabel('Edit Object').click();
await page.getByRole('tab', { name: 'Elements' }).click();
@ -239,7 +239,7 @@ test.describe('Overlay Plot', () => {
await page.goto(overlayPlot.url);
// Wait for plot series data to load and be drawn
await waitForPlotsToRender(page);
await page.click('button[title="Edit"]');
await page.getByLabel('Edit Object').click();
await page.getByRole('tab', { name: 'Elements' }).click();