File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 44from os import getenv
55from selenium import webdriver
66
7- WAIT_SECONDS = int (getenv ('WAIT_SECONDS' , '60 ' ))
7+ WAIT_SECONDS = int (getenv ('WAIT_SECONDS' , '30 ' ))
88BASE_URL = getenv ('BASE_URL' , 'http://localhost:8080' )
9- DRIVER = getenv ('DRIVER' , 'chrome ' ).lower ()
9+ DRIVER = getenv ('DRIVER' , 'firefox ' ).lower ()
1010
1111
1212def before_all (context ):
@@ -19,6 +19,7 @@ def before_all(context):
1919 else :
2020 context .driver = get_chrome ()
2121 context .driver .implicitly_wait (context .wait_seconds )
22+ context .driver .set_window_size (1280 , 1300 )
2223 context .config .setup_logging ()
2324
2425
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Scenario: Create a Pet
2222 And I set the "Category" to "Hippo"
2323 And I select "False" in the "Available" dropdown
2424 And I select "Male" in the "Gender" dropdown
25- And I set the "Birthday" to "06-16-2022 "
25+ And I set the "Birthday" to "2022- 06-16"
2626 And I press the "Create" button
2727 Then I should see the message "Success"
2828 When I copy the "Id" field
You can’t perform that action at this time.
0 commit comments