Loading
Current section: Authentication 6 exercises
Problem

Protected logic

Loading exercise

Transcript

00:00 Prior to this point, you've been testing different authentication methods. In other words, different features you have in your app. But now it's time for you to focus on behaviors that live behind authentication. For example, in the epic notes, logged in users can create and manage their notes, and that's a perfect candidate for you to test in this exercise. But keep in mind that in this case, authentication is no longer an action you perform in your test, but instead a part of the given, a part of your app's initial state.

00:28 So follow the instructions and pay attention at the difference when it comes to testing authentication as a feature and as a prerequisite for other features.