Skip to content

refactor: rewriting some e2e tests #213

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

EduardoJM
Copy link
Member

@EduardoJM EduardoJM commented Dec 23, 2024

The fundamental of this PR is:

  1. We have some things: ArrayField widget and Inlines that works exactly same and we have a lot of duplicated test code.
  2. We have the widget with various common things with ArrayField widget and Inline that have a lot of duplicated test code too.

The concept of this refactor is:

  1. Create some test helper and mixins classes to run some common test-case's for each of this.
  2. Make various tests inside a one test function to reduce the quantity of new browser/page opened.
  3. Fix the broken UI Regression tests.
  4. Fix any found behaviour mistake.
  5. Turn the test code more semantic and readable.

Relation to the Issues:
closes #208
closes #207

Other informations:

Due we droped support for Django 3.x and we are rewriting tests, the broken UI regression tests are a real problem, we can merge #206 PR to closes #211 issue.

@EduardoJM EduardoJM added this to the 1.1.0 milestone Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant