Skip to content

Commit

Permalink
Add some e2e tests on first contrib pages
Browse files Browse the repository at this point in the history
- Move common fixtures to conftest.py
- Cover step 0 of new contrib flow
- Use selenium and chrome browser to be able to interact with JS rendered things
  • Loading branch information
mlvernay committed Dec 19, 2024
1 parent a2a7413 commit c9c04e8
Show file tree
Hide file tree
Showing 6 changed files with 454 additions and 474 deletions.
2 changes: 1 addition & 1 deletion .isort.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[settings]
known_third_party = Levenshtein,admin_auto_filters,admin_two_factor,autoslug,boto3,celery,colorama,corsheaders,deepl,dj_static,django,django_better_admin_arrayfield,django_registration,django_summernote,environ,factory,faker,frictionless,fuzz,fuzzywuzzy,geopy,ijson,import_export,magic_profanity,modeltranslation,outscraper,pandas,phonenumbers,pytest,pytest_factoryboy,requests,rest_framework,rest_framework_api_key,rest_framework_gis,reversion,schedule,scrapfly,sentry_sdk,sib_api_v3_sdk,six,splinter,stdnum,waffle
known_third_party = Levenshtein,admin_auto_filters,admin_two_factor,autoslug,boto3,celery,colorama,corsheaders,deepl,dj_static,django,django_better_admin_arrayfield,django_registration,django_summernote,environ,factory,faker,frictionless,fuzz,fuzzywuzzy,geopy,ijson,import_export,magic_profanity,modeltranslation,outscraper,pandas,phonenumbers,pytest,pytest_factoryboy,requests,rest_framework,rest_framework_api_key,rest_framework_gis,reversion,schedule,scrapfly,selenium,sentry_sdk,sib_api_v3_sdk,six,splinter,stdnum,waffle
13 changes: 7 additions & 6 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,20 @@ verify_ssl = true
ruff = "*"
ipdb = "*"
pre-commit = "*"
pytest-mock = "*"
splinter = {extras = [ "django",], version = "*"}
pytest-circleci-parallelized = "*"
django-debug-toolbar = "*"
pytest-xdist = "*"
django-rosetta = "*"
djlint = "*"
pytest-factoryboy = "*"
faker = "*"
django-webtest = "*"
django-deep-translator = "*"
selenium = "*"
splinter = {version = "*", extras = ["selenium"]}
pytest-mock = "*"
pytest-circleci-parallelized = "*"
pytest-xdist = "*"
pytest-factoryboy = "*"
pytest-socket = "*"
pytest-django = "*"

[packages]
coreapi = "*"
Expand All @@ -45,7 +47,6 @@ Markdown = "*"
phonenumbers = "*"
psycopg2 = "*"
psycopg2-binary = "*"
pytest-django = "*"
python-levenshtein = "*"
python-stdnum = "*"
PyYAML = "*"
Expand Down
Loading

0 comments on commit c9c04e8

Please sign in to comment.