A test searches for:
But the actual HTML is:
The test fails because it expects a class that no longer exists.
What type of test outcome is this?
________________________________________
Comprehensive and Detailed Explanation From Exact Extract JavaScript Knowledge
Definitions:
False negative The test reports a failure even though the feature actually works.
False positive The test reports success when it should not.
True positive Correctly identifies something is working.
True negative Correctly identifies something is not working.
In this scenario:
The checkout button does exist, so the feature works.
The test fails incorrectly, because it is checking for the wrong selector.
That is the definition of a false negative.
________________________________________
JavaScript Knowledge Reference (text-only)
Test outcome classification: false negative = feature works but test fails.
==================================================
Quentin
4 days agoDorthy
9 days agoLeonor
14 days ago