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- SE_TO_TEST = [(elm .web .search .google .PlaywrightGoogleLinkSearch , {}),
18- (elm .web .search .duckduckgo .PlaywrightDuckDuckGoLinkSearch , {}),
17+ SE_TO_TEST = [(elm .web .search .duckduckgo .PlaywrightDuckDuckGoLinkSearch , {}),
1918 (elm .web .search .bing .PlaywrightBingLinkSearch , {}),
2019 (elm .web .search .yahoo .PlaywrightYahooLinkSearch , {})]
2120if CSE_ID := os .getenv ("GOOGLE_CSE_ID" ):
2221 SE_TO_TEST .append ((elm .web .search .google .PlaywrightGoogleCSELinkSearch ,
2322 {"cse_url" : f"https://cse.google.com/cse?cx={ CSE_ID } " }))
2423
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+
2528
2629@flaky (max_runs = 3 , min_passes = 1 )
2730@pytest .mark .parametrize ("queries" , [['1. "Python Programming Language"' ],
You can’t perform that action at this time.
0 commit comments