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

Added tests for loginWithMIC for the HTML5 Shim #279

Merged
merged 62 commits into from
Mar 29, 2018

Conversation

tsvetomir-nedyalkov
Copy link
Contributor

Description

Added tests for loginWithMIC for HTML5 Shim with an OAuth 2 provider (Facebook)

Changes

  1. Added the tests for loginWithMIC
  2. Encrypted in Travis all sensitive variables (including the Facebook user credentials). I will prepare an additional document, which describes how to execute the tests locally
  3. Added User collection cleanup before the tests execution
  4. Added some Chrome flags in webRunTests.js in order to be able to handle the Facebook popup
  5. Small fix for the empty array verification in sync tests

@tsvetomir-nedyalkov tsvetomir-nedyalkov changed the title Added tests for loginWithMIC tests for the HTML5 Shim Added tests for loginWithMIC for the HTML5 Shim Mar 27, 2018
@tsvetomir-nedyalkov tsvetomir-nedyalkov self-assigned this Mar 28, 2018
@@ -5,6 +5,23 @@ env:
- INTEGRATION_TESTS_CORDOVA_VERSION='8.0.0'
- UNIT_TESTS_NODEJS_VERSION='9'
- RUN_INTEGRATION_TESTS_FILE_LOCATION='./test/integration/run-tests'
- secure: IuywIkmD6t8wxh1OpjMgHvvGIzDBDXXahkhlTFsuxN0kowqlWrF9F1gCyMdg7dALJ+rtInISGIm+7UrTbyoNSBPHRkzXyU0p1eDx8shBLYOg8dKxTwUn61zb3ckOMt1sYwOy2x00d6MUIayB0uu5haYUyi4zt8bqs2Mp548oO4r5+Y4/Tnt3lP5/dGFyxOER7HZdb+Ka9KguzhgJeWSF7dRMjQCHCccUO4i2Gp6cQVE8xI2e9nN6SXDwuQrIq8zRcbCh/5sH4R1uEHEKDT5u0gBIN5eBQSkjG7rtBi3Vaif7TsSqRTGUV2njKCIO7Cd8HLHeY9D7WHFMsLXOGo2hGZvdaeq9QXoJ3mswNO0AUP6Smam+Bg8YeHy+x6+/yGIT7N0J0wrZUY3WeEpq3b14+f2YtDhhGS0m3K6uLllOQ+NVHvkgEEVp7y4pxJhTf8e9Gc6ZCoJOAY+NCjI7wnDQ0DbyanoE5JbhyL6oDv1P+sZE9Ixm3fRIZVrUf4g3P31AXL4O4UUdcTjMwUmTktweXGLCKqbtS/XepxtaeUTthacoTYALkjpgDeB3jrOLiEUxVjI2GYH4IRjdutAohVfgEFy8m5KiTdw5pQQFzT+u+T+YRf9N3o5O/BSSJuzpa57nmPa9ShCHNLLahEAVi65fRo1Ols7pU8ZnLxZ7r6PrrwQ=
Copy link
Contributor

Choose a reason for hiding this comment

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

What are all these secure environment variables?

Copy link
Contributor

Choose a reason for hiding this comment

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

Never mind I see where they are being used and what they represent.

@thomasconner
Copy link
Contributor

A good provider to test is Google. They have some strict requirements around the user-agent that is used. Just something that we could add. Good Job!

@tsvetomir-nedyalkov tsvetomir-nedyalkov merged commit 384c04f into master Mar 29, 2018
@tsvetomir-nedyalkov tsvetomir-nedyalkov deleted the QA-176_mic_tests branch March 29, 2018 14:43
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.

2 participants