Skip to content
Open
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
a701342
[AB#307495]-setup selenium base + add create program test
mmaciekk Mar 27, 2026
1b32f33
fix tox.ini / pipeline setup for headless selenium required by seleni…
mmaciekk Mar 27, 2026
463d279
admin panel url
mmaciekk Mar 27, 2026
cc1fd4e
add new rules to selenium_base, refactor test_create_program to adjus…
mmaciekk Mar 30, 2026
b675c81
replace sleep wit wait for element
mmaciekk Mar 30, 2026
93c9b9e
add rule about wait for element instead of sleep, and remove flag fro…
mmaciekk Mar 30, 2026
d6d3f4e
format, lint
mmaciekk Mar 30, 2026
8eb978f
PR comments addressed
mmaciekk Mar 31, 2026
076de75
use select_option_by_name instead of select_listbox_element
mmaciekk Mar 31, 2026
c4a8074
add new pattern
mmaciekk Mar 31, 2026
9661d3a
make selenium patterns more concise
mmaciekk Apr 1, 2026
870a41b
remove if inside test function
mmaciekk Apr 1, 2026
dc12f1f
remove comments scroll and if
mmaciekk Apr 1, 2026
2ca9194
final pr comments
mmaciekk Apr 1, 2026
a922ed1
Merge branch 'develop' into selenium-create-program
mmaciekk Apr 1, 2026
423f41f
test pdu fields and other fields from program form
mmaciekk Apr 1, 2026
3c136b9
fix add assert value
mmaciekk Apr 1, 2026
0a32d07
fix edit pdu test + button next instead of clicking on step button
mmaciekk Apr 1, 2026
b9128dc
Merge remote-tracking branch 'origin' into selenium-create-program
mmaciekk Apr 10, 2026
0e6587b
address Kamil's comments
mmaciekk Apr 10, 2026
05b2593
uv.lock update
mmaciekk Apr 10, 2026
9fa8449
rewrite flaky grievance test selenium base way
mmaciekk Apr 10, 2026
fab5d14
remove pytest.fixture(autouse=True)
mmaciekk Apr 15, 2026
54a9968
Merge branch 'develop' into selenium-create-program
mmaciekk Apr 15, 2026
facf954
refactor new e2e tests according to guidelines
mmaciekk Apr 17, 2026
9db7d23
fix test
mmaciekk Apr 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ jobs:
./tox
key: ${{ runner.os }}-venv


- name: Run Test suite
run: uv run tox -e tests -- pytest ./tests/unit -q -rfE --no-header --tb=short --no-migrations --randomly-seed=42 --dist=loadgroup --create-db -n 4 --cov-report xml:test-coverage/coverage.xml --junit-xml=test-results.xml --cov-config=.coveragerc --cov=hope --dist loadgroup

Expand Down Expand Up @@ -232,7 +231,7 @@ jobs:
key: ${{ runner.os }}-venv

- name: Run Selenium suite
run: uv run tox -e tests -- pytest ./tests/e2e -q -rfE --no-header --tb=short --no-migrations --randomly-seed=42 --dist=loadgroup --create-db -n auto --cov-report xml:test-coverage/coverage.xml --junit-xml=test-results.xml --cov-config=.coveragerc --cov=hope
run: uv run tox -e tests -- pytest ./tests/e2e -q -rfE --no-header --tb=short --no-migrations --randomly-seed=42 --dist=loadgroup --create-db -n auto --headless --cov-report xml:test-coverage/coverage.xml --junit-xml=test-results.xml --cov-config=.coveragerc --cov=hope
- name: Test Report
uses: dorny/test-reporter@v2
if: success() || failure()
Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ dev = [
"pytest-cov>=4.1",
"pytest-django>=4.5.2",
"pytest-echo>=1.7.1",
"pytest-html>=4.1.1",
"pytest-html>=4.0.2",
"pytest-mock",
"pytest-randomly>=3.15",
"pytest-repeat>=0.9.3",
Expand All @@ -156,6 +156,7 @@ dev = [
"responses>=0.22",
"ruff>=0.11.8",
"selenium>=4.29",
"seleniumbase>=4.34",
"snapshottest>=1.0.0a0",
"tox>=4.25",
"types-freezegun>=1.1.10",
Expand Down Expand Up @@ -211,6 +212,9 @@ django_settings_module = "hope.settings"

[tool.uv]
package = true
override-dependencies = [
"pytest-html==4.0.2",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm not a fan of these overrides

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@domdinicola Me neither, but here is the reason why.
seleniumbase/SeleniumBase#3619

]

[tool.nitpick]
style = [
Expand Down
Loading
Loading