File tree Expand file tree Collapse file tree 3 files changed +5
-93
lines changed Expand file tree Collapse file tree 3 files changed +5
-93
lines changed Original file line number Diff line number Diff line change 11# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
22tasks :
33 - init : pip install selenium && export PYTHONWARNINGS="ignore:Unverified HTTPS request" # runs during prebuild
4- command : python google-search- lambdatest.py
4+ command : python lambdatest.py
55
66
Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ def setUp(self):
2222 "console" : 'true' , # Enable or disable console logs
2323 "network" : 'true' # Enable or disable network logs
2424 },
25- "browserName" : "Chrome " ,
26- "browserVersion" : "98.0 " ,
25+ "browserName" : "firefox " ,
26+ "browserVersion" : "latest " ,
2727 }
2828
2929 self .driver = webdriver .Remote (
30- command_executor = "https ://{}:{}@hub.lambdatest.com/wd/hub" .format (
30+ command_executor = "http ://{}:{}@hub.lambdatest.com/wd/hub" .format (
3131 username , access_key ),
3232 desired_capabilities = desired_caps )
3333
@@ -62,6 +62,7 @@ def test_demo_site(self):
6262
6363 # Searching for the results
6464 search = driver .find_element (By .XPATH , "//*[@id='search']" )
65+ assert search .is_displayed (), "Search is not displayed"
6566 search .click ()
6667 driver .implicitly_wait (3 )
6768
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments