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

tests for implemented flows (username password) #51

Open
2 of 8 tasks
Tracked by #46
hifabienne opened this issue Jan 19, 2024 · 2 comments
Open
2 of 8 tasks
Tracked by #46

tests for implemented flows (username password) #51

hifabienne opened this issue Jan 19, 2024 · 2 comments
Assignees

Comments

@hifabienne
Copy link
Member

hifabienne commented Jan 19, 2024

As ZITADEL Admins we want to ensure that all of the implemented oidc flows always work with the current ZITADEL Cloud version.

Acceptance Criteria

  • Flow
    • User enters username
    • User enters password
    • User is redirected to app
  • Token has expected claims (have a look at current token and take those claims, so we have a starting point)
  • PRs can only be merged if e2e tests succeed (test against latest ZITADEL docker)
  • Nightly e2e tests ensure we detect breaking cloud version changes early
  • Tests don't rely on results of other tests

Test Cases:
Given: Username password login is enabled

  • Login with username without suffix
  • Login with username with suffix
  • Login with email address
  • Login with phone
  • Login with disabled user --> error
  • Login with locker user -->
  • Not existing username --> error
  • Wrong password --> error

Open Questions

How do we want to run the e2e tests?
To preview deployement?
In the pipeline?

@hifabienne hifabienne changed the title E2E - Tests E2E tests for common flows Jan 19, 2024
@hifabienne hifabienne changed the title E2E tests for common flows E2E tests for implemented flows Jan 19, 2024
@eliobischof
Copy link
Member

I would add to the AC:

  • PRs can only be merged if e2e tests succeed
  • Nightly e2e tests ensure we detect breaking cloud version changes early

Estimation: 3

@peintnermax
Copy link
Member

I would add to the AC:

  • PRs can only be merged if e2e tests succeed
  • Nightly e2e tests ensure we detect breaking cloud version changes early

Estimation: 3

agree 👍

@hifabienne hifabienne changed the title E2E tests for implemented flows tests for implemented flows Sep 12, 2024
@hifabienne hifabienne changed the title tests for implemented flows tests for implemented flows (username password) Sep 12, 2024
@stebenz stebenz self-assigned this Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🏗 In progress
Development

No branches or pull requests

4 participants