Skip to content

Commit

Permalink
Change VSelect locators to combobox role and remove name for filterText
Browse files Browse the repository at this point in the history
  • Loading branch information
wssheldon committed Dec 15, 2023
1 parent 055d75c commit 5cd9cab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/static/e2e/pages/report-incident-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export class ReportIncidentPage {
this.reportHeader = page.getByText("Report Incident").first()
this.titleTextBox = page.getByLabel("Title", { exact: true })
this.descriptionTextBox = page.getByLabel("Description", { exact: true })
this.projectDropdown = page.getByRole("button", { name: "Project" })
this.typeDropdown = page.getByRole("button", { name: "Type" })
this.priorityDropdown = page.getByRole("button", { name: "Priority" })
this.projectDropdown = page.getByRole("combobox").filter({ hasText: "Project" })
this.typeDropdown = page.getByRole("combobox").filter({ hasText: "Type" })
this.priorityDropdown = page.getByRole("combobox").filter({ hasText: "Priority" })
this.tagsDropdown = page.getByRole("combobox").filter({ hasText: "Tags" }).locator("i")
this.submitButton = page.getByRole("button", { name: "Submit" })
this.loadMore = page.getByText("Load More")
Expand Down

0 comments on commit 5cd9cab

Please sign in to comment.