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

Upgrade to Cypress 12 #908

Merged
merged 18 commits into from
May 12, 2023
Merged

Upgrade to Cypress 12 #908

merged 18 commits into from
May 12, 2023

Conversation

garcanam
Copy link
Contributor

Description
Upgrade to Cypress 12. New login example with cy.origin() and upload videos.

Fixes
#899

@garcanam garcanam requested a review from cschweikert as a code owner April 24, 2023 13:41
@BraisVQ
Copy link
Contributor

BraisVQ commented Apr 24, 2023

Nodejs18 test is failing but it should have been fixed in #906.....

@tbugfinder
Copy link
Contributor

tbugfinder commented Apr 24, 2023

Hi @garcanam , please fix the merge conflict (rebase master) it should also incorporate the fix for the NodeJS 18 build.

workingDir: '/tmp',
resourceRequestCpu: '1000m',
resourceLimitCpu: '5000m',
resourceRequestMemory: '4Gi',
Copy link
Member

Choose a reason for hiding this comment

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

resourceRequestMemory: '4Gi' seems a lot too me. Is it needed?

e2e-cypress/files/README.md Show resolved Hide resolved
viewportHeight: 660,
experimentalModifyObstructiveThirdPartyCode:true,
//https://github.com/cypress-io/cypress/issues/25806
// experimentalSkipDomainInjection: ["*.apps.eu-dev.ocp.aws.boehringer.com"],
Copy link
Member

Choose a reason for hiding this comment

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

Are those comments needed? Or maybe they would need a little more explanation.

e2e-cypress/files/support/e2e.ts Outdated Show resolved Hide resolved
e2e-cypress/files/cypress.config.ts Outdated Show resolved Hide resolved
supportFile: "support/e2e.ts",
viewportWidth: 1376,
viewportHeight: 660,
experimentalModifyObstructiveThirdPartyCode:true,
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
experimentalModifyObstructiveThirdPartyCode:true,
experimentalModifyObstructiveThirdPartyCode: true,

Copy link
Member

Choose a reason for hiding this comment

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

There are some formatting issues here and there, e.g. inconsistant usage of 'foo' vs. "foo". Have you thought about running some code formatter like prettier?

e2e-cypress/files/support/e2e.ts Show resolved Hide resolved
e2e-cypress/files/support/e2e.ts Outdated Show resolved Hide resolved
Copy link
Contributor Author

@garcanam garcanam left a comment

Choose a reason for hiding this comment

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

Fixing comments

Copy link

@bassagan bassagan left a comment

Choose a reason for hiding this comment

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

add improvements

@garcanam garcanam requested a review from cschweikert May 5, 2023 11:23
roicarrera and others added 4 commits May 8, 2023 15:11
Co-authored-by: Christian Schweikert <43915417+cschweikert@users.noreply.github.com>
removed unneeded comment
cschweikert
cschweikert previously approved these changes May 9, 2023
Copy link
Member

@cschweikert cschweikert left a comment

Choose a reason for hiding this comment

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

Thanks for updating all this.

@BraisVQ BraisVQ linked an issue May 9, 2023 that may be closed by this pull request
Copy link
Member

Choose a reason for hiding this comment

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

There is already a changelog for the whole repository (https://github.com/opendevstack/ods-quickstarters/blob/master/CHANGELOG.md). AFAIK we don't have per-QS changelogs so far. I guess there should be an entry there instead of creating a separate changelog here. I'd keep it a one-line entry, e.g. something like

- Upgraded to Cypress 12, improve login support, add video support ([#899](https://github.com/opendevstack/ods-quickstarters/issues/899))

cschweikert
cschweikert previously approved these changes May 10, 2023
cschweikert
cschweikert previously approved these changes May 10, 2023
@BraisVQ BraisVQ merged commit e1f5111 into opendevstack:master May 12, 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.

Maintenance of Angular, Ionic, TypeScript and Cypress quickstarters
7 participants