diff --git a/src/components/account-filter.cy.tsx b/src/components/account-filter.cy.tsx index 70cabe15..272265cc 100644 --- a/src/components/account-filter.cy.tsx +++ b/src/components/account-filter.cy.tsx @@ -72,4 +72,12 @@ describe("", () => { /** No default value is set when this prop is present */ cy.get("input").should("have.value", "All accounts"); }); + + it("verify the typeahead dropdown", () => { + /** Test by typing cus then custom account is selected */ + cy.mount(); + cy.get("input").clear(); + cy.get("input").type("cus"); + cy.get("div").should("have.class", "typeahead-option active"); + }); });