From 828e9ddef8cf49e6574d4a17b735f8b94fc5930d Mon Sep 17 00:00:00 2001 From: Oleja123 Date: Mon, 3 Mar 2025 21:01:17 +0400 Subject: [PATCH] =?UTF-8?q?=D1=8D=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common_fixtures.py | 2 +- test_information_module.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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