File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414import elm .web .search .bing
1515import elm .web .search .yahoo
1616
17-
18- SE_TO_TEST = [(elm .web .search .google .PlaywrightGoogleLinkSearch , {}),
19- (elm .web .search .duckduckgo .PlaywrightDuckDuckGoLinkSearch , {}),
17+ SE_TO_TEST = [(elm .web .search .duckduckgo .PlaywrightDuckDuckGoLinkSearch , {}),
2018 (elm .web .search .bing .PlaywrightBingLinkSearch , {}),
2119 (elm .web .search .yahoo .PlaywrightYahooLinkSearch , {})]
2220if CSE_ID := os .getenv ("GOOGLE_CSE_ID" ):
2321 SE_TO_TEST .append ((elm .web .search .google .PlaywrightGoogleCSELinkSearch ,
2422 {"cse_url" : f"https://cse.google.com/cse?cx={ CSE_ID } " }))
2523
24+ if os .getenv ("GITHUB_ACTIONS" ) != "true" :
25+ # Google link searches fail in GHA for some reason (but not locally)
26+ SE_TO_TEST .append ((elm .web .search .google .PlaywrightGoogleLinkSearch , {}))
27+
2628
2729@flaky (max_runs = 3 , min_passes = 1 )
2830@pytest .mark .parametrize ("queries" , [['1. "Python Programming Language"' ],
You can’t perform that action at this time.
0 commit comments