Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions tests/lt_sample_todo.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ def load_params_from_json(json_path):
@pytest.mark.parametrize("driver", load_params_from_json(str(pathlib.Path(__file__).parent.parent) + "/configurations.json"), indirect=True)
def test_title(self, driver):

driver.get(r'https://www.lambdatest.com/selenium-playground/')
driver.get(r'https://www.testmu.ai/selenium-playground/')
driver.implicitly_wait(10)
driver.refresh()
driver.find_element(By.XPATH, "//a[contains(text(),'Simple Form Demo')]").click()
title = driver.current_url
assert "simple-form-demo" in title, "tetx is not present n the URL"
val = "Welcome to LambdaTest"
val = "Welcome to TestMu Ai"
time.sleep(2)
driver.find_element( By.ID, "user-message").send_keys(val)
# driver.find_element(By.XPATH, "//input[@id='user-message']").send_keys(val)
driver.find_element(By.ID, "showInput").click()
Expand All @@ -38,7 +40,9 @@ def test_item(self, driver):
:return: None
"""

driver.get('https://www.lambdatest.com/selenium-playground/')
driver.get('https://www.testmu.ai/selenium-playground/')
driver.implicitly_wait(10)
driver.refresh()
driver.find_element(By.XPATH,"//a[contains(text(),'Drag & Drop Sliders')]").click()
time.sleep(2)
ActionChains(driver).move_by_offset(946, 349).pause(2).click().perform()
Expand Down