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

Multi-browser testing #568

Merged
merged 100 commits into from
Feb 11, 2022
Merged

Multi-browser testing #568

merged 100 commits into from
Feb 11, 2022

Conversation

rathorevaibhav
Copy link
Member

@rathorevaibhav rathorevaibhav commented Dec 20, 2021

Fixes #596

Summary

  1. TestCafe setup as our E2E testing framework
  2. Replaced existing Cypress test cases with TestCafe
  3. The TestCafe integrates with BrowserStack to test the Plio app workflow across various browsers
  4. Right now, the Plio apps (Frontend, Backend and Analytics) are set up on an Ubuntu instance, and that app is then tested from Windows and macOS browsers via BrowserStack. Refer ci.yml file for full details.
  5. Updated code structure for english and hindi specific test cases (login-en.spec.js and login-hi.spec.js). This structure can be used in all future test cases.
  6. Couple of helper files to help with common functions in test cases
  7. TestCafe documentation

@codecov
Copy link

codecov bot commented Dec 20, 2021

Codecov Report

Merging #568 (4ad5ad8) into master (1ad35ff) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #568   +/-   ##
=======================================
  Coverage   84.18%   84.18%           
=======================================
  Files          69       69           
  Lines        4369     4369           
  Branches      769      769           
=======================================
  Hits         3678     3678           
  Misses        666      666           
  Partials       25       25           
Impacted Files Coverage Δ
src/App.vue 61.33% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1ad35ff...4ad5ad8. Read the comment docs.

@cypress
Copy link

cypress bot commented Dec 20, 2021



Test summary

30 0 0 0


Run details

Project Plio
Status Passed
Commit d9a5394
Started Dec 21, 2021 1:37 PM
Ended Dec 21, 2021 1:43 PM
Duration 06:41 💡
OS Linux Ubuntu - 20.04
Browser Multiple

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@rathorevaibhav rathorevaibhav temporarily deployed to End-to-End Testing February 10, 2022 17:45 Inactive
@rathorevaibhav rathorevaibhav temporarily deployed to End-to-End Testing February 10, 2022 18:49 Inactive
@rathorevaibhav rathorevaibhav temporarily deployed to End-to-End Testing February 10, 2022 19:13 Inactive
@dalmia dalmia merged commit c245af6 into master Feb 11, 2022
@dalmia dalmia deleted the feature/cypress-multi-os-browser branch February 11, 2022 08:20
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.

Add support for cross-browser testing
3 participants