Загрузка...

3 Cypress auth tests you need in CI (Session, Lockout, Reset)

Most auth bugs don't happen on the login page. They happen after login: session expiry loops, lockouts, and messy retries. I'm Viola Lykova, Software Engineer and Cypress Ambassador, and in this video I walk through 3 auth tests your CI actually needs.

In this video I walk through 3 CI-stable Cypress tests that catch real auth failures:
1) Session expiry redirect (no loops)
2) Rate limiting / lockout behaviour
3) Reset flow failure with invalid or expired token

Resources (as promised):
Starter spec and auth test matrix template: https://www.idncod.com/resources/snappycart-cypress-ct-kickoff
Cypress tests: https://github.com/idncod/5aday-ci-auth-demo

Chapters:
00:00 Why login tests miss real auth bugs
00:25 In this video....
00:35 Test 1 Session expiry
01:00 Code for Test 1
01:43 Test 2 Lockout rate limit
02:07 Code for Test 2
03:08 Test 3 Reset invalid token
03:40 Code for Test 3
04:17 Video Summary
08:10 Wrap-up

Let's connect on Linkedin: https://www.linkedin.com/in/violaly/

Видео 3 Cypress auth tests you need in CI (Session, Lockout, Reset) канала V Dev
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять