Skip to content

Commit

Permalink
specify which checkbox to click out of the two
Browse files Browse the repository at this point in the history
  • Loading branch information
mnyamunda-scottlogic committed Sep 13, 2024
1 parent 4d4d903 commit d97c52b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion air-quality-ui/system_tests/pages/summary_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ export class SummaryPage extends BasePage {
this.agCell = page.locator('role=gridcell')
this.allCells = page.locator('[role=gridcell]')
this.grid = page.getByTestId('summary-grid')
this.highlightValuesToggle = page.getByRole('checkbox')
this.highlightValuesToggle = page
.locator('div')
.filter({ hasText: /^Highlight all AQI values$/ })
.getByRole('checkbox')
this.scroller = page.locator('.ag-body-horizontal-scroll-viewport')
this.timeRange = page.getByText('Time Range:')
this.title = page.locator('title')
Expand Down

0 comments on commit d97c52b

Please sign in to comment.