File tree 1 file changed +7
-3
lines changed
smoke-test/tests/cypress/cypress/e2e/search
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,13 @@ describe("search", () => {
44
44
cy . visit ( "/" ) ;
45
45
cy . get ( "input[data-testid=search-input]" ) . type ( "*{enter}" ) ;
46
46
47
- // click tag filter dropdown inside of "More Filters"
48
- cy . get ( "[data-testid=more-filters-dropdown" ) . click ( { force : true } ) ;
49
- cy . get ( "[data-testid=more-filter-Tag" ) . click ( { force : true } ) ;
47
+ // open up more filters so we can see all filters at once
48
+ cy . get ( "[data-testid=more-filters-dropdown]" ) . click ( ) ;
49
+
50
+ // look for the high level tag filter first and select the more filter tag if it doesn't exist
51
+ cy . get ( "[data-testid=filter-dropdown-Tag], [data-testid=more-filter-Tag]" )
52
+ . first ( )
53
+ . click ( ) ;
50
54
51
55
// click and search for tag, save that tag
52
56
cy . get ( "[data-testid=search-bar" ) . eq ( 1 ) . type ( "cypress" ) ;
You can’t perform that action at this time.
0 commit comments