Skip to content

Commit

Permalink
Fix: cypress failing
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaJ2305 committed Dec 23, 2024
1 parent 48450a8 commit e3adf77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/pageobject/utils/advanceFilterHelpers.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const advanceFilters = {
clickAdvancedFiltersButton() {
cy.verifyAndClickElement("#advanced-filter", "Filters");
cy.verifyAndClickElement("#filter", "Filters");
},

selectState(state: string) {
Expand Down
2 changes: 1 addition & 1 deletion src/CAREUI/interactive/FiltersSlideover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const AdvancedFilterButton = ({ onClick }: { onClick: () => void }) => {
variant="outline_primary"
className="w-full md:w-auto"
onClick={onClick}
id="advanced-filter"
id="filter"
>
<CareIcon icon="l-filter" />
<span className="py-0.5 ml-2">{t("filters")}</span>
Expand Down

0 comments on commit e3adf77

Please sign in to comment.