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

Separate Gen1 and Gen2 environments pull(v1) #5267

Closed
wants to merge 28 commits into from

Conversation

zchenwei
Copy link
Contributor

@zchenwei zchenwei commented May 21, 2024

Description

  • Gen1 and Gen2 environments are pulled separately and e2e tests against them will be run on different machines
  • New example apps are created for Gen2 tests(angular-gen2, next-gen2, vue-gen2). Cannot use the same apps to set up Gen1 and Gen2 since the environments pull are separated. Either gen1 or gen2 configs will be missing and the apps will not compile
  • e2e test updates are mostly tagging with @gen1 and @gen2. 90% of them can be shared but a few scenarios will be differentiated(e.g., no username login in Gen2, error messages are different, etc)
  • Updates are in place for Authenticator and Storage components only. If we agree to take this direction, I will make the updates for other components

Screenshot 2024-05-24 at 9 52 13 AM

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link

changeset-bot bot commented May 21, 2024

⚠️ No Changeset found

Latest commit: d0d2fab

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@zchenwei zchenwei changed the title [POC] Gen2 auth environment v2 [POC] Separate Gen1 and Gen2 environments pull May 21, 2024
@@ -290,7 +327,7 @@ jobs:
run: yarn ${{ matrix.example }}-example build

- name: Start ${{ matrix.example }} example
run: yarn ${{ matrix.example }}-example start & npx wait-on -c waitOnConfig.json -t 20000 http-get://localhost:3000/ui/components/authenticator/sign-in-with-username
run: yarn ${{ matrix.example }}-example start & npx wait-on -c waitOnConfig.json -t 20000 http-get://localhost:3000/ui/components/authenticator/sign-in-with-email
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to a route that is supported by both gen1 and gen2

@zchenwei zchenwei changed the title [POC] Separate Gen1 and Gen2 environments pull Separate Gen1 and Gen2 environments pull May 24, 2024
@zchenwei zchenwei marked this pull request as ready for review May 24, 2024 04:25
@zchenwei zchenwei requested a review from a team as a code owner May 24, 2024 04:25
@zchenwei zchenwei requested a review from wlee221 May 24, 2024 04:27
@zchenwei zchenwei changed the title Separate Gen1 and Gen2 environments pull test: separate Gen1 and Gen2 environments pull May 24, 2024
@zchenwei zchenwei changed the title test: separate Gen1 and Gen2 environments pull test: separate Gen1 and Gen2 environments pull(v1) May 25, 2024
@zchenwei zchenwei marked this pull request as draft May 25, 2024 00:39
@zchenwei zchenwei changed the title test: separate Gen1 and Gen2 environments pull(v1) Separate Gen1 and Gen2 environments pull(v1) May 25, 2024
@zchenwei zchenwei closed this May 31, 2024
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 this pull request may close these issues.

None yet

1 participant