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

Failed assertion commands do not abort the test case #89

Closed
xunoaib opened this issue Jan 29, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@xunoaib
Copy link

commented Jan 29, 2018

The active test case does not terminate when an "assert" command fails. Instead, a failure message is displayed and the remaining commands in the test case are still executed. To my understanding, this is how "verify" commands should work, but it's not appropriate for assertions.

The old Selenium IDE 2.9.1 plugin behaves as expected.

Selenium IDE Log (v1.1.0) demonstrating this issue:

Running 'assertion_test'
1.Trying to execute assertText on name=btnK with value doesnotexist... Failed:
Actual value '' did not match 'doesnotexist'
2.Trying to execute open on /skipthiscommand... Success
'assertion_test' completed with 1 error(s)
@corevo

This comment has been minimized.

Copy link
Member

commented Jan 30, 2018

Aborting test cases due to errors is not yet implemented, it'll be coming as part of extensibility.
I'll leave this open until then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.