From 0f1977622fde1a7fe68712677a8dd00110f79623 Mon Sep 17 00:00:00 2001 From: Marie Idleman Date: Wed, 19 Feb 2025 06:30:20 -0600 Subject: [PATCH] update locator --- test/e2e/pages/plots.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/pages/plots.ts b/test/e2e/pages/plots.ts index 270dc9faef4..abc497d85c3 100644 --- a/test/e2e/pages/plots.ts +++ b/test/e2e/pages/plots.ts @@ -45,7 +45,7 @@ export class Plots { this.clearPlotsButton = this.code.driver.page.locator(CLEAR_PLOTS_BUTTON); this.plotSizeButton = this.code.driver.page.locator(PLOT_SIZE_BUTTON); this.savePlotFromPlotsPaneButton = this.code.driver.page.locator(SAVE_PLOT_FROM_PLOTS_PANE_BUTTON); - this.savePlotFromEditorButton = this.code.driver.page.locator(SAVE_PLOT_FROM_EDITOR_BUTTON); + this.savePlotFromEditorButton = this.code.driver.page.getByRole('button', { name: 'Save Plot From Active Editor' }); this.copyPlotButton = this.code.driver.page.locator(COPY_PLOT_BUTTON); this.zoomPlotButton = this.code.driver.page.locator(ZOOM_PLOT_BUTTON); this.currentPlot = this.code.driver.page.locator(CURRENT_PLOT);