bahmutov / bahmutov/cypress-firebase-auth-example

Example of how to use firebase.createUserWithEmailAndPassword()?

Open
#3 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

Description

I've tried mocking the
```js
firebase.auth()
```
object as well as the XHR requests firebase makes with `cy.request()` but haven't had any luck - do you have an example of mocking user creationg with `firebase.auth().createUserWithEmailAndPassword()`?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the repository's existing Cypress and Firebase authentication example and the reported mocking approaches using firebase.auth() and cy.request(). Add a working example for mocking createUserWithEmailAndPassword(), with documentation showing how to use it from a Cypress test.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, firebase, javascript
Domain
authentication, documentation, testing
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.