Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

refactor: rewriting some e2e tests #213

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

Conversation

EduardoJM
Copy link
Member

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant