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

(Hopefully) Fix Cypress build failure #96

Merged
merged 2 commits into from Feb 3, 2021
Merged

Conversation

Gweaton
Copy link
Contributor

@Gweaton Gweaton commented Feb 3, 2021

What does this pull request do?

Removes the "get table" package to hopefully fix the build on CI, replacing it with a local copy of the implementation as a Cypress command.

What is the intent behind these changes?

When running the build, we were getting a "Corrupted Download" message when trying to install Cypress. I believe this is due to the get-tablepackage requiring an older version of Cypress as one of its dependencies, as well as trying to install our own version of Cypress for running our own end to end tests.

Here's the issue that led me to that conclusion: cypress-io/cypress#4595

Using the `getTable` package has caused our build to fail as it's trying
to install multiple versions of Cypress, so we're adding the
implementation to our codebase instead.

This implementation has been shamelessly copied from
https://github.com/roggerfe/cypress-get-table/blob/master/src/index.js.
When running the build, we were getting a "Corrupted Download" message
when trying to install Cypress. I believe this is due to the `get-table`
package requiring an older version of Cypress as one of its
dependencies.

Here's how I came to that conclusion:
cypress-io/cypress#4595
@Gweaton Gweaton requested a review from a team February 3, 2021 16:39
@Gweaton Gweaton merged commit 493bb55 into main Feb 3, 2021
@Gweaton Gweaton deleted the fix/cypress-build-failure branch February 3, 2021 16:42
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

2 participants