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 Cypress version #834

Closed
JohnTParsons opened this issue Apr 18, 2023 · 0 comments · Fixed by #835
Closed

Upgrade Cypress version #834

JohnTParsons opened this issue Apr 18, 2023 · 0 comments · Fixed by #835
Assignees

Comments

@JohnTParsons
Copy link
Collaborator

Describe the bug

End-to-end tests sometimes fail, especially on the merge pipeline.
Appears related to recent Cypress parallel changes.
Is there anything we can do to make it more reliable?
eg reduce the amount of parallelism?
upgrade Cypress package and Docker image?

To Reproduce

Merge a PR

Expected behavior

No errors

Screenshots / Video / Test Environment

Example:
https://circleci.com/api/v1.1/project/github/newscorp-ghfb/NewsKit/154317/output/103/0?file=true&allocation-id=643dc18c947ad03a74ca2ad7-0-build%2F25C46F80

Found test suites does not match results.
Test suites found: 134
Test suite results: 90
Some test suites likely terminated without passing on results, exit with error
The following test suites are missing results: cypress/site/functional/a11y/components/banner.cy.js,cypress/site/functional/a11y/components/block.cy.js,cypress/site/functional/a11y/components/breadcrumbs.cy.js,cypress/site/functional/a11y/components/button.cy.js,cypress/site/functional/a11y/components/consent.cy.js,cypress/site/functional/a11y/components/date-time.cy.js,cypress/site/functional/a11y/components/divider.cy.js,cypress/site/functional/a11y/components/drawer.cy.js,cypress/site/functional/a11y/components/image.cy.js,cypress/site/functional/a11y/components/inline-message.cy.js,cypress/site/functional/a11y/components/layer.cy.js,cypress/site/functional/a11y/components/link.cy.js,cypress/site/functional/a11y/components/scroll.cy.js,cypress/site/functional/a11y/components/select.cy.js,cypress/site/functional/a11y/components/share-bar.cy.js,cypress/site/functional/a11y/components/slider.cy.js,cypress/site/functional/a11y/components/text-block.cy.js,cypress/site/functional/a11y/components/text-field.cy.js,cypress/site/functional/a11y/components/text-input.cy.js,cypress/site/functional/a11y/components/title-bar.cy.js,cypress/site/functional/a11y/components/video-player.cy.js,cypress/site/functional/a11y/components/visibility.cy.js,cypress/site/functional/a11y/components/volume-control.cy.js,cypress/site/functional/a11y/getting-started/accessibility/code.cy.js,cypress/site/functional/a11y/getting-started/code/instrumentation.cy.js,cypress/site/functional/a11y/getting-started/code/testing.cy.js,cypress/site/functional/a11y/getting-started/design/design-overview.cy.js,cypress/site/functional/a11y/getting-started/overview.cy.js,cypress/site/functional/a11y/patterns/forms/overview.cy.js,cypress/site/functional/a11y/patterns/forms/passwords.cy.js,cypress/site/functional/a11y/patterns/forms/payment.cy.js,cypress/site/functional/a11y/patterns/forms/telephone-number.cy.js,cypress/site/functional/a11y/theme/foundation/colours.cy.js,cypress/site/functional/a11y/theme/foundation/design-tokens.cy.js,cypress/site/functional/a11y/theme/foundation/fonts.cy.js,cypress/site/functional/a11y/theme/foundation/gradients.cy.js,cypress/site/functional/a11y/theme/overview.cy.js,cypress/site/functional/a11y/theme/presets/style-presets.cy.js,cypress/site/functional/a11y/theme/presets/transition-presets.cy.js,cypress/site/functional/a11y/theme/presets/typography-presets.cy.js,cypress/site/functional/sidebar.cy.js,cypress/site/functional/social.cy.js,cypress/site/functional/storybook-links.cy.js,cypress/site/functional/table-of-content.cy.js
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
http-server stopped.
Error: Command failed with exit code 1: TZ=UTC && yarn e2e:docs:parallel
    at makeError (/root/project/node_modules/start-server-and-test/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/root/project/node_modules/start-server-and-test/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  shortMessage: 'Command failed with exit code 1: TZ=UTC && yarn e2e:docs:parallel',
  command: 'TZ=UTC && yarn e2e:docs:parallel',
  escapedCommand: '"TZ=UTC && yarn e2e:docs:parallel"',
  exitCode: 1,
  signal: undefined,
  signalDescription: undefined,
  stdout: undefined,
  stderr: undefined,
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Exited with code exit status 1

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context

Add any other context about the problem here.

@JohnTParsons JohnTParsons added the bug Something isn't working label Apr 18, 2023
@JohnTParsons JohnTParsons self-assigned this Apr 18, 2023
@github-project-automation github-project-automation bot moved this to Triage in NewsKit Apr 18, 2023
@JohnTParsons JohnTParsons moved this from Triage to In progress in NewsKit Apr 18, 2023
@JohnTParsons JohnTParsons moved this from In progress to Ready to do in NewsKit Apr 18, 2023
@jps jps moved this from Ready to do to Peer review in NewsKit Apr 20, 2023
@JohnTParsons JohnTParsons changed the title Investigate Cypress Parallel failures Upgrade Cypress version Apr 21, 2023
@JohnTParsons JohnTParsons removed the bug Something isn't working label Apr 21, 2023
@JohnTParsons JohnTParsons moved this from Peer review to Ready to do in NewsKit Apr 24, 2023
@jps jps added this to the Infrastructure & Release milestone Apr 24, 2023
@JohnTParsons JohnTParsons moved this from Ready to do to In progress in NewsKit Apr 28, 2023
@JohnTParsons JohnTParsons moved this from In progress to Peer review in NewsKit Apr 28, 2023
@JohnTParsons JohnTParsons moved this from Peer review to Ready to deploy in NewsKit May 2, 2023
@newskit-engineering newskit-engineering moved this from Ready to deploy to Done in NewsKit May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants