Skip to content

Commit 59817f9

Browse files
committed
debug
1 parent 748458d commit 59817f9

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/jdi-python.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
python-version: ['3.11']
19+
browser: [chrome, firefox]
1920

2021
steps:
2122
- uses: actions/checkout@v4
@@ -31,12 +32,9 @@ jobs:
3132
run: |
3233
pytest -v --cov=. --cov-config=.coveragerc --cov-report=html -m unit
3334
shell: bash
34-
- name: Run tests excluding unit tests chrome
35+
- name: Run tests excluding 'unit' tests on ${{ matrix.browser }}
3536
run: |
36-
pytest -v -m "not unit" --browser chrome
37-
- name: Run tests excluding unit tests firefox
38-
run: |
39-
pytest -v -m "not unit" --browser firefox
37+
pytest -v -m "not unit" --browser ${{ matrix.browser }}
4038
shell: bash
4139
- name: Save debug log file
4240
uses: actions/upload-artifact@v4

tests/jdi_uitests_webtests/test/conftest.py

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def site():
1616
logger.info("Run Tests from '{}' file".format(__name__))
1717
EpamJDISite.home_page.open()
1818
EpamJDISite.login_page.submit(User.default())
19+
print(WebSettings.get_driver_factory().current_driver.name)
1920

2021
yield
2122

0 commit comments

Comments
 (0)