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

Add browser auth integration test #119

Merged
merged 34 commits into from
Mar 8, 2023

Conversation

ben-polinsky
Copy link
Collaborator

Add playwright tests for Browser based authentication, both via redirect and via popup.

Closes #101

@ben-polinsky
Copy link
Collaborator Author

ben-polinsky commented Mar 3, 2023

I believe I can refine the way playwright binaries are downloaded...

Was able to reduce the downloading of binaries by one step. It would be nice if we had agents/machines with these binaries pre-installed.

Copy link
Member

@aruniverse aruniverse left a comment

Choose a reason for hiding this comment

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

youre the mvp! overall looks good, few comments:

  • you might need to rebase to update the first few commits, leaking your personal account.
  • can you update the readme with instructions on how to run the tests?
  • can you update the npmignore to make sure we dont accidentally deliver these test files?

packages/browser/package.json Outdated Show resolved Hide resolved
packages/browser/package.json Show resolved Hide resolved
packages/browser/package.json Outdated Show resolved Hide resolved
@ben-polinsky ben-polinsky enabled auto-merge (squash) March 8, 2023 16:23
@ben-polinsky ben-polinsky enabled auto-merge (squash) March 8, 2023 17:02
@ben-polinsky ben-polinsky merged commit e47ccba into main Mar 8, 2023
@ben-polinsky ben-polinsky deleted the bdp/add-browser-auth-integration-test branch March 8, 2023 19:40
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.

Release auth-clients packages as 1.0 Create tests for @itwin/browser-authorization
3 participants