Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

MM-29918 Cypress/E2E: Add ability to run tests for EE and TE #6883

Merged
merged 2 commits into from
Oct 24, 2020

Conversation

saturninoabril
Copy link
Member

@saturninoabril saturninoabril commented Oct 22, 2020

Summary

This PR adds the ability to run test in CI for EE and TE.

  • For EE: CYPRESS_runWithEELicense=true node run_tests.js --stage='@prod', given that a license file can be found at cypress/fixtures folder.
  • For TE: node run_tests.js --stage='@prod' --exclude-group='@enterprise'

Other changes included:

  • For tests that require license to run:
    • Moved folder/files into /enterprise folder
    • Added each test file with @enterprise metadata

Note: Test runs for EE and TE are ongoing. Will share report links once completed See reports:

Ticket Link

Jira ticket - https://mattermost.atlassian.net/browse/MM-29918

@saturninoabril saturninoabril added the 3: QA Review Requires review by a QA tester label Oct 22, 2020
Copy link
Contributor

@srkgupta srkgupta left a comment

Choose a reason for hiding this comment

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

Thanks @saturninoabril. The changes LGTM.

Copy link
Contributor

@josephbaylon josephbaylon left a comment

Choose a reason for hiding this comment

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

LGTM. Just minor missing = sign. Thanks @saturninoabril !!

e2e/run_tests.js Outdated Show resolved Hide resolved
Co-authored-by: Joseph Baylon <[email protected]>
@prapti prapti added 4: Reviews Complete All reviewers have approved the pull request and removed 3: QA Review Requires review by a QA tester labels Oct 24, 2020
@prapti prapti merged commit b274001 into mattermost:master Oct 24, 2020
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels Oct 26, 2020
calebroseland pushed a commit that referenced this pull request Oct 27, 2020
* add ability to run e2e for EE and TE

* Update e2e/run_tests.js

Co-authored-by: Joseph Baylon <[email protected]>

Co-authored-by: Joseph Baylon <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4: Reviews Complete All reviewers have approved the pull request Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation
Projects
None yet
5 participants