Skip to content

Commit

Permalink
workflow smoke teste
Browse files Browse the repository at this point in the history
  • Loading branch information
GCarin1 committed Nov 13, 2023
1 parent 5cf7ce5 commit edf426b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y google-chrome-stable
pip install webdriver_manager
- name: Set up secrets as environment variables
run: |
Expand Down
3 changes: 1 addition & 2 deletions features/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ def before_scenario(context, scenario):
context.browser.delete_all_cookies()
context.browser.maximize_window()
else:
context.browser = webdriver.Chrome(executable_path=ChromeDriverManager().install())
context.browser = webdriver.Chrome(ChromeDriverManager().install())
context.browser.delete_all_cookies()
context.browser.maximize_window()
# else:
# service = Service('drivers\chromedriver.exe')
# context.browser = webdriver.Chrome(service=service)
# context.browser.delete_all_cookies()
Expand Down

0 comments on commit edf426b

Please sign in to comment.