Specific test if fails should not produce a failure in report
This is a bit tricky to explain in only one sentence in the title.
I want to create a test block that I want to re-use throughout my regression tests.
This block will be the login scenario (for start)
So my actions are:
1. Check if logged in
2. If not do login
3. Check if logged in
I have done this using the Test flow logic and it's working.
But the actual issue is that the first check will report a failure and I don't want this.
- The first "Assert Logout button is visible" should fail if not logged in, but should not be included in the report.
- The second "Assert Logout button is visible" if fails should be reported.
Thanks in advance for any help