Sharing App Constants

Let's learn how to use `share app constants` in Cypress testing.

We'll cover the following

App Constants

When the app works but the tests fail, we have a false negative. False negatives happen sometimes, especially when the tests rely on something external (like the E2E tests do). Anyway, We should decrease false negatives as much as possible.

A lot of things can cause false negatives. For instance, the difference between the constants used by the web app and the ones used by the tests. What are the constants used by the actual test?

Get hands-on with 1200+ tech skills courses.