Cypress.io & Firebase Auth | How to test authentication with Firebase in Cypress.io

Опубликовано: 20 Октябрь 2024
на канале: Small Batch Devs
5,761
96

In this episode, we walk you through Cypress.io best practices for testing features that require a user to be authenticated. This can be especially tricky when using a third-party service to control authentication like Firebase Auth. So we also walk you through setting up firebase auth in cypress.io.

Check out our website for more great tutorials and content!
https://smallbatchdevs.com

Check out our Podcast!
https://open.spotify.com/show/36eNV2m...

KEEP UP with @smallbatchdevs on SOCIAL MEDIA!
Twitter:   / smallbatchdevs  
Instagram:   / smallbatchdevs  
Facebook:   / small-batch-devs-112906707036301  
Twitch:   / smallbatchdevs  

Check out all our Github Repositories for these episodes:
https://github.com/smallbatchdevs

00:00 Intro
00:23 What is Cypress.io
00:46 What are we doing and using?
01:08 Intro to Cypress.io Authentication
02:28 Testing the Login UI Flow
04:50 Login UI Flow Demo
05:40 Writing Custom Cypress Commands
08:22 Testings the Custom Cypress Commands
10:15 Demoing the Programmatic login
10:44 Outro

#cypressio #firebase #webdevelopment