Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase authentication - signup, login, add/remove user #194

Closed
Tracked by #192
dallashuggins opened this issue Jan 12, 2022 · 0 comments · Fixed by #200
Closed
Tracked by #192

Firebase authentication - signup, login, add/remove user #194

dallashuggins opened this issue Jan 12, 2022 · 0 comments · Fixed by #200
Assignees

Comments

@dallashuggins
Copy link
Contributor

dallashuggins commented Jan 12, 2022

Test auth flows for signing up and logging in. A user needs to be added in the database and in Firebase, and the token persisted in cookies.

Additional context

Before we're able to use cypress-firebase, we'll need to manually sign up so we can authenticate using Firebase. We can create a test user and delete the test user after the run, using Firebase admin.

@dallashuggins dallashuggins self-assigned this Jan 12, 2022
dallashuggins added a commit that referenced this issue Jan 21, 2022
* move api

* move schemas

* update project root files

* prepare cms

* add web-e2e (cypress) project

* setup web project config

* add new web and api dockerfiles

* fix various build errors

* add directus executor

* fix broken CI build

* fix api build error

* fix web dockerfile

* update continuous integration workflow

* clear out unused code

* re-add cms seed script

* Running cypress app e2e, starter

* re-add missing eslint rules, remove comments

* upgrade deps an extra time

* Checkout tests

* re-add knex migration scripts

* Update CMS instructions

* update api commands in readme

* fix path to api locales

* Cypress tests for login and signup

* Cleanup

* Reinstalling RTL, got removed by accident

* Script for e2e, adding back in

* Fixing test and adding back in serve command

* Rearranging test order

* Cleanup

* Cleanup

* Fixes for inconsistent bugs

* Installing to update package lock

Co-authored-by: Simon Ingeson <44818+smonn@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant