Skip to content

Fix: revert addition of cypress-webpack-preprocessor #2672

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

Closed
wants to merge 1 commit into from

Conversation

LinusBorg
Copy link
Member

When I was trying to fix #2667 I found that cypress tests were not working anymore for the default--mode production, but they do work for --mode development.

Some testing found that it is related to the addition of cypress-webpack-preprocessor introduced in bd32daa to solve #2465

Removing that makes tests work again.

I tried to find out what about the production config breaks the preprocessor, but was unsuccessful.

Since it was only introduced to provide a convenience feature (@/ alias path support in cyprss test files) I submit this PR to revert the feature until we have found a proper fix for the problem.

Maybe we just have to remove some plugin from the production config that we load into the preprocessor, but so fa I haven't figured out which one it is.

This actually broke tests and was only added for convenience (#2465)
haoqunjiang added a commit that referenced this pull request Oct 7, 2018
Some issues only happens in GUI mode (#2672),
so we need to manually identify these issues during development.
@haoqunjiang
Copy link
Member

Fixed in c0ca45c & ab0503b

@haoqunjiang haoqunjiang closed this Oct 7, 2018
@LinusBorg LinusBorg deleted the revert_cypress_webpack_preproc branch October 14, 2018 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vue create broken when selecting cypress for E2E testing
3 participants