A test searches for:
< button class= " blue " > Checkout < /button >
But the actual HTML is:
< button > Checkout < /button >
The test fails because it expects a class that no longer exists.
What type of test outcome is this?
False negative
True positive
True negative
False positive
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 References (text-only)
Test outcome classification: false negative = feature works but test fails.
==================================================
Submit