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

Use default port cypress #538

Conversation

prajwaldhawarikar-bs
Copy link
Contributor

@prajwaldhawarikar-bs prajwaldhawarikar-bs commented Mar 13, 2023

No description provided.

@prajwaldhawarikar-bs prajwaldhawarikar-bs changed the base branch from master to AFD-1923-fix-spec-pattern-and-lls March 13, 2023 12:18
@@ -286,6 +286,9 @@ const validate = (bsConfig, args) => {
if (!Utils.isUndefined(bsConfig.run_settings.nodeVersion) && typeof(bsConfig.run_settings.nodeVersion) === 'string' && !bsConfig.run_settings.nodeVersion.match(/^(\d+\.)?(\d+\.)?(\*|\d+)$/))
logger.warn(Constants.validationMessages.NODE_VERSION_PARSING_ERROR);

if(!Utils.isUndefined(cypressConfigFile.port)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can add a spec for this. Eg.

it("should log a warning if nodeVersion is not in x.x.x format where x is a number", () => {
return capabilityHelper
.validate(bsConfig, {})
.then(function (data) {
sinon.assert.called(loggerWarningSpy);
});
});

Copy link
Collaborator

@asambstack asambstack left a comment

Choose a reason for hiding this comment

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

LGTM

@asambstack asambstack changed the title Afd 1921 use default port cypress Use default port cypress Mar 14, 2023
@agrawalsaurabhs agrawalsaurabhs merged commit cc68672 into AFD-1923-fix-spec-pattern-and-lls Mar 29, 2023
@agrawalsaurabhs agrawalsaurabhs mentioned this pull request Mar 29, 2023
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.

3 participants