-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bumping dependencies and test site #69
Changes from 11 commits
972641f
d3441fb
3c4b249
9af6001
cf096a1
01c5953
16513a8
d9ef025
cb77e07
92bb95c
a05d475
410799b
01cbcbf
279831c
9526bcc
e5618a9
3cbca15
b9c9860
b99df5d
11537bb
eb6fa9c
0f38c16
4927e38
9bffe83
cb4ebb0
748458d
59817f9
8d4582e
ecaa6f6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
python-version: ['3.7', '3.8', '3.x'] | ||
python-version: ['3.11'] | ||
|
||
steps: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. actions/setup-python@v5 тоже There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. сделал |
||
- uses: actions/checkout@v2 | ||
vklonin marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
@@ -37,6 +37,10 @@ jobs: | |
run: | | ||
pytest -v --cov=. --cov-config=.coveragerc --cov-report=html -m unit | ||
shell: cmd | ||
- name: Run tests excluding unit tests | ||
run: | | ||
pytest -v -m "not unit" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. давай еще запуск на firefox тоже сделаем There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. сделал |
||
shell: cmd | ||
- name: Save debug log file | ||
uses: actions/upload-artifact@v2 | ||
vklonin marked this conversation as resolved.
Show resolved
Hide resolved
|
||
with: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
import os | ||
from webdriver_manager.chrome import ChromeDriverManager | ||
import sys | ||
|
||
from JDI.core.settings.jdi_settings import JDISettings | ||
|
||
|
||
class WebDriverProvider: | ||
@staticmethod | ||
def get_chrome_driver_path(): | ||
chrome = "/chromedriver.exe" if sys.platform.startswith("win") else "chromedriver" | ||
return os.path.join(JDISettings.get_driver_path(), chrome) | ||
chrome = ChromeDriverManager().install() | ||
return chrome | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
driver=chrome | ||
; domain=https://www.epam.com/ | ||
domain=https://jdi-framework.github.io/tests | ||
domain=https://jdi-testing.github.io/jdi-light | ||
timeout_wait_element=5 | ||
timeout_wait_pageLoad=5 | ||
drivers_folder=.\ | ||
driver_getLatest=true | ||
driver_getLatest=true | ||
headless=False | ||
user=Roman | ||
password=Jdi1234 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
appdirs==1.4.4 | ||
astroid==2.4.2 | ||
black==20.8b1 | ||
certifi==2020.12.5 | ||
chardet==4.0.0 | ||
click==7.1.2 | ||
colorama==0.4.4 | ||
comtypes==1.1.8 | ||
flake8==3.8.4 | ||
idna==2.10 | ||
isort==5.7.0 | ||
lazy-object-proxy==1.4.3 | ||
mccabe==0.6.1 | ||
mypy==0.800 | ||
mypy-extensions==0.4.3 | ||
pathspec==0.8.1 | ||
pycodestyle==2.6.0 | ||
pyflakes==2.2.0 | ||
pylint==2.6.0 | ||
pyperclip==1.8.1 | ||
pywin32==302 | ||
regex==2020.11.13 | ||
requests==2.25.1 | ||
selenium==3.141.0 | ||
six==1.15.0 | ||
astroid==3.1.0 | ||
black==24.2.0 | ||
certifi==2024.2.2 | ||
chardet==5.2.0 | ||
click==8.1.7 | ||
colorama==0.4.6 | ||
comtypes==1.3.1 | ||
flake8==7.0.0 | ||
idna==3.6 | ||
isort==5.13.2 | ||
lazy-object-proxy==1.10.0 | ||
mccabe==0.7.0 | ||
mypy==1.9.0 | ||
mypy-extensions==1.0.0 | ||
pathspec==0.12.1 | ||
pycodestyle==2.11.1 | ||
pyflakes==3.2.0 | ||
pylint==3.1.0 | ||
pyperclip==1.8.2 | ||
pywin32==306 | ||
regex==2023.12.25 | ||
requests==2.31.0 | ||
selenium==4.18.1 | ||
six==1.16.0 | ||
toml==0.10.2 | ||
typed-ast==1.4.3 | ||
typing-extensions==3.7.4.3 | ||
wrapt==1.12.1 | ||
typed-ast==1.5.5 | ||
typing-extensions==4.10.0 | ||
wrapt==1.16.0 | ||
pytest | ||
pytest-cov |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
pywin32==302 | ||
selenium==3.141.0 | ||
requests==2.25.1 | ||
selenium==4.18.1 | ||
requests==2.31.0 | ||
pytest==8.1.1 | ||
webdriver_manager==4.0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
лучше на ubuntu, быстрее работать будет
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
переключил