Skip to content

Commit

Permalink
increasing type selector length (#5389)
Browse files Browse the repository at this point in the history
  • Loading branch information
whitdog47 authored Oct 25, 2024
1 parent 24b78e5 commit 6b01581
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default {
loading: false,
items: [],
more: false,
numItems: 5,
numItems: 50,
total: 0,
lastProjectId: null,
error: null,
Expand Down
28 changes: 14 additions & 14 deletions tests/static/e2e/report-submission.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,19 @@ test.describe("Authenticated Dispatch App", () => {
"'Incident Report: Description' not visible on page after submission of incident report."
)
.toBeVisible()
}),
test("The 'Load More' selector should be visible when there are more than 5 options in Type combobox.", async ({
reportIncidentPage,
}) => {
await reportIncidentPage.goto()
await reportIncidentPage.typeDropdown.click()

// Soft check that the 'Load More' selector is available upon opening the Project dropdown
await expect
.soft(
reportIncidentPage.loadMore,
"The 'Load More' selector should be visible when there are more than 5 options in Type combobox."
)
.toBeVisible()
})
// test("The 'Load More' selector should be visible when there are more than 5 options in Type combobox.", async ({
// reportIncidentPage,
// }) => {
// await reportIncidentPage.goto()
// await reportIncidentPage.typeDropdown.click()

// // Soft check that the 'Load More' selector is available upon opening the Project dropdown
// await expect
// .soft(
// reportIncidentPage.loadMore,
// "The 'Load More' selector should be visible when there are more than 5 options in Type combobox."
// )
// .toBeVisible()
// })
})

0 comments on commit 6b01581

Please sign in to comment.