Skip to content

Commit 62ccefa

Browse files
committed
gitpod updates
1 parent 1bea62d commit 62ccefa

File tree

3 files changed

+5
-93
lines changed

3 files changed

+5
-93
lines changed

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
22
tasks:
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

lambdatest.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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

lambdatest1.py

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)