File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,19 @@ def browser_management():
18
18
}
19
19
}
20
20
options .capabilities .update (selenoid_capabilities )
21
+
21
22
driver = webdriver .Remote (
22
23
command_executor = "https://user1:1234@selenoid.autotests.cloud/wd/hub" ,
23
24
options = options )
24
25
browser .config .driver = driver
26
+
25
27
yield
28
+
26
29
attach .add_html (browser )
27
30
attach .add_screenshot (browser )
28
31
attach .add_logs (browser )
29
32
attach .add_video (browser )
33
+
30
34
browser .quit ()
31
35
32
36
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ def test_fill_the_donate_form_with_valid_data(how_to_help):
75
75
@allure .story ("Форма для отправки пожертвования" )
76
76
@allure .description ("Тест проверяет, что поле для электронной почты обязательно для заполнения в форме "
77
77
"отправки пожертвования" )
78
- def test_fill_the_donate_form (how_to_help ):
78
+ def test_email_field_in_donate_form_is_obligatorily (how_to_help ):
79
79
helppage .set_username (test_user .name )
80
80
helppage .click_on_submit_button ()
81
81
helppage .check_error_message ()
@@ -87,7 +87,7 @@ def test_fill_the_donate_form(how_to_help):
87
87
@allure .story ("Форма для отправки пожертвования" )
88
88
@allure .description ("Тест проверяет, что поле для имени необязательно для заполнения в форме "
89
89
"отправки пожертвования" )
90
- def test_fill_the_donate_form (how_to_help ):
90
+ def test_name_field_in_donate_form_is_not_obligatorily (how_to_help ):
91
91
helppage .set_email (test_user .email )
92
92
helppage .check_error_message_is_missing ()
93
93
helppage .check_submit_button ()
You can’t perform that action at this time.
0 commit comments