question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature] Allow test run to continue the case execution if a test.step() fails

See original GitHub issue

It would be nice to have a flag or something that could be use to allow a test run go trough all the test.step(), even if any of them fail.

Something like: test.describe.configure({ mode: 'continue' }); 😄

The reason for this request is explained in this comment from the first line until the first bullet point: https://github.com/microsoft/playwright/issues/14508#issuecomment-1144617999

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
aslushnikovcommented, Jun 7, 2022

Just to confirm: @aslushnikov there is no plan for a test.step.soft()?

@gegoncalves Yep, no plans for this so far.

And again thanks for the help and amazing work that you have been doing with playwright

Thank you for the warm words! ❤️

1reaction
aslushnikovcommented, Jun 3, 2022

@gegoncalves You can use expect.soft inside the steps, and they will continue running. Would it work for you?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Groovy script to run a Teststep doesn't fail when
Any help would be appreciated. Here is the groovy step I am using: //Generate Authentication Token // Run the test step def auth...
Read more >
How to run failed test cases in TestNG & Selenium
Let us next see how to rerun failed test cases in TestNG. Go back to Test3, change the assert value to true and...
Read more >
How to control TEST CASE STOP/CONTINUE in test plan(test ...
The Test Suite/TS0 will invoke TC0 only. If you run TS0 > TC0 > TC1 fails, then TC0 will also fail immediately without...
Read more >
TestCase Execution | Functional Testing - SoapUI
Execution of TestSteps · The beforeTestStep event is triggered to all applicable TestRunListeners · The TestStep itself is run and its TestStepResult is...
Read more >
How to skip the rest of tests in the class if one has failed?
I like the general "test-step" idea. I'd term it as "incremental" testing and it makes most sense in functional testing scenarios IMHO.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found