forked from EGCETSII/decide_django_2
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2373ab6
commit 170ae0e
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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." | ||
|