File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
foxpuppet/windows/browser/panel_ui Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ export GECKODRIVER_LOG = $(shell pwd)/results/geckodriver.log
33
44BLACK_CHECK = black -l 90 --check --diff .
55BLACK_FIX = black -l 90 .
6- MINIMUM_COVERAGE = 95
7- FOXPUPPET_TESTS = pytest -vvv --driver Firefox --cov --cov-fail-under=$(MINIMUM_COVERAGE ) --html results/report.html
86
97check : install_poetry lint test
108
@@ -18,7 +16,7 @@ install_poetry:
1816 curl -sSL https://install.python-poetry.org | python3 -
1917
2018test : install_dependencies
21- poetry run $( FOXPUPPET_TESTS )
19+ poetry run pytest
2220
2321lint : install_dependencies
2422 poetry run $(BLACK_CHECK )
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ def open_panel_menu(self) -> None:
6262 with self .selenium .context (self .selenium .CONTEXT_CHROME ):
6363 self .selenium .find_element (* PanelUILocators .PANEL_UI_BUTTON ).click ()
6464 self .wait .until (
65- EC .visibility_of_element_located (* PanelUILocators .PANEL_POPUP ),
65+ EC .presence_of_element_located (* PanelUILocators .PANEL_POPUP ),
6666 message = "Panel UI menu did not open" ,
6767 )
6868
Original file line number Diff line number Diff line change 1+ [pytest]
2+ addopts = -vvv --driver Firefox --cov --cov-fail-under =95 --html =results/report.html --self-contained-html
3+ testpaths = tests
You can’t perform that action at this time.
0 commit comments