diff --git a/common_fixtures.py b/common_fixtures.py index 230632a..8775150 100644 --- a/common_fixtures.py +++ b/common_fixtures.py @@ -39,4 +39,4 @@ def login(driver): close_button.click() time.sleep(2) driver.switch_to.default_content() - yield driver \ No newline at end of file + yield driver diff --git a/test_information_module.py b/test_information_module.py index 3a4a578..46f9e7b 100644 --- a/test_information_module.py +++ b/test_information_module.py @@ -31,7 +31,7 @@ def test_feedback(login): send_button = login.find_element( By.XPATH, '/html/body/div[3]/div/div[2]/div/div/div/div[3]/button') send_button.click() - time.sleep(1) + time.sleep(2) success_img = login.find_element( By.XPATH, '/html/body/div[3]/div/div[2]/div/div/div/div[2]/div/img') assert success_img is not None