Skip to content

Commit

Permalink
Clean up driver (#607)
Browse files Browse the repository at this point in the history
* add 3 tests for sdist

---------

Co-authored-by: SergeyPirogov <serhii.pirogov@gmail.com>
  • Loading branch information
SergeyPirogov and SergeyPirogov authored Aug 28, 2023
1 parent de0872f commit 6b7d03f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test_xdist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
WDM_LOG: ${{ matrix.wdm-log }}
with:
run: |
pipenv run pytest -sv tests_xdist/ -n 2
pipenv run pytest -sv tests_xdist/ -n 3
- name: List folders
run: ls -la ~/.wdm
11 changes: 11 additions & 0 deletions tests_xdist/test_cuncurent_3.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from selenium import webdriver
from selenium.webdriver.chrome.service import Service

from webdriver_manager.chrome import ChromeDriverManager


def test_chrome_manager_with_selenium():
driver_path = ChromeDriverManager().install()
driver = webdriver.Chrome(service=Service(driver_path))
driver.get("http://automation-remarks.com")
driver.close()

0 comments on commit 6b7d03f

Please sign in to comment.