Skip to content
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

[SPIKE] Add the "dependant test" feature for suite helper #8

Open
3 tasks
Andrew718PLTS opened this issue Oct 31, 2024 · 0 comments
Open
3 tasks

[SPIKE] Add the "dependant test" feature for suite helper #8

Andrew718PLTS opened this issue Oct 31, 2024 · 0 comments
Assignees

Comments

@Andrew718PLTS
Copy link
Collaborator

Andrew718PLTS commented Oct 31, 2024

Description:

While writing new tests it allows make a separate check during the main test which doesn't fail all test test a long the way.
Example: if I need to test that price is okay during the swapping - I'm adding a dependant test instead of "expect" during the main test that fails everything due to tiny check.

Example:

When I need to test that price is okay during the swapping - I'm adding a dependant test instead of "expect" during the main test that fails everything due to tiny check.

Benefits:

  • Independency in execution - we don't waste time to execute new tests (raising new browsers for that) we just isolate dependant tests in scope of one flow. If it has to be separate test - anytime we can set it up
  • When I need to disable it, I don't just comment an expect - I disable a dependant test with a reason and optional link for an issue. It allows control executable tests

Acceptance criteria:

  • A dependant test doesn't create a new browser context
  • A main test block has a dependant property that represents a test interface (name, test, disable)
  • A dependant test doesn't fail a main test block when it's failed
@Andrew718PLTS Andrew718PLTS self-assigned this Oct 31, 2024
@bowd bowd changed the title Add the "dependant test" feature for suite helper [SPIKE] Add the "dependant test" feature for suite helper Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant