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.
==================================================
Corinne
26 days agoArmanda
1 month agoJunita
2 months agoQuentin
2 months agoDorthy
2 months agoLeonor
2 months ago