Skip to content

Commit

Permalink
Test: email incorrecto EGCETSII#45
Browse files Browse the repository at this point in the history
  • Loading branch information
pakote13rg committed Jan 9, 2022
1 parent 2373ab6 commit 170ae0e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions decide/authentication/testsMicrosoft.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,26 @@ def teardown_method(self, method):
# assert self.driver.find_element(By.CSS_SELECTOR, "th:nth-child(1)").text == "Name"


# def test_pp1(self):
# # Test name: pp (2)
# # Step # | name | target | value
# # 1 | open | http://localhost:8000/booth/voting |
# self.driver = webdriver.Chrome()
# self.driver.get("http://localhost:8000/booth/voting")
# # 2 | setWindowSize | 909x1016 |
# self.driver.set_window_size(909, 1016)
# # 3 | click | css=tr:nth-child(3) a |
# self.driver.find_element(By.CSS_SELECTOR, "tr:nth-child(3) a").click()
# # 4 | click | xpath=(//div[@id='customBtn']/a/span)[2] |
# self.driver.find_element(By.XPATH, "(//div[@id=\'customBtn\']/a/span)[2]").click()
# # 5 | pause | 5000 |
# time.sleep(5)
# # 6 | type | id=i0116 | [email protected]
# self.driver.find_element(By.ID, "i0116").send_keys("[email protected]")
# # 7 | pause | 5000 |
# time.sleep(5)
# # 8 | click | id=idSIButton9 |
# self.driver.find_element(By.ID, "idSIButton9").click()
# # 9 | assertText | id=usernameError | No hemos podido encontrar ninguna cuenta con ese nombre de usuario. Escriba otra dirección u obtenga una nueva cuenta de Microsoft.
# assert self.driver.find_element(By.ID, "usernameError").text == "No hemos podido encontrar ninguna cuenta con ese nombre de usuario. Escriba otra dirección u obtenga una nueva cuenta de Microsoft."

0 comments on commit 170ae0e

Please sign in to comment.