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

Multiple Versions of Cypress #95

Merged
merged 9 commits into from
Dec 7, 2020
Merged

Conversation

SagarGaniga
Copy link
Collaborator

@SagarGaniga SagarGaniga commented Nov 26, 2020

Adds a capability to provide cypress_version.

@@ -67,10 +67,15 @@ module.exports = function run(args) {
logger.warn(Constants.userMessages.NO_PARALLELS);
}

if (bsConfig.cypress_version && bsConfig.cypress_version !== data.cypress_version) {
logger.warn(Constants.userMessages.CYPRESS_VERSION_CHANGED);
Copy link
Collaborator

Choose a reason for hiding this comment

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

let's check the message?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated

@@ -374,3 +374,9 @@ exports.getNetworkErrorMessage = (dashboard_url) => {
+ Constants.userMessages.CHECK_DASHBOARD_AT + dashboard_url
return chalk.red(message)
}

exports.versionChangedMessage = (preferredVersion, actualVersion) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we add Spec for this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

@prateekbstack
Copy link
Collaborator

LGTM

@karanshah-browserstack karanshah-browserstack merged commit 205a737 into master Dec 7, 2020
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

4 participants