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

fix Implement support for proxying pages inside ASAR archives #44

Merged
merged 11 commits into from
Aug 8, 2019

Conversation

Farfurix
Copy link
Contributor

@Farfurix Farfurix commented Jun 17, 2019

DevExpress/testcafe-hammerhead#2033

Changes

  1. Move the appEntryPoint resolving to src/injectable/index.js
  2. Add an asar test case: run all test with an asar app.

Copy link
Contributor

@AndreyBelym AndreyBelym left a comment

Choose a reason for hiding this comment

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

Thanks, it's fine, but there are some points to discuss:

  1. I think it's better to package the test app just before the tests instead of storing the archive in the repository. How hard is it to create a Gulp task that will package the test app?

  2. I remember that we decided to move the config.appEntryPoint into the injected script.

  3. I'm sorry, but the config file for the tested app looks too complex for me. Maybe it's really better to create two separate config files and then start TestCafe with electron:regular-app-config and electron-asar-app-config.

src/utils/get-config.js Outdated Show resolved Hide resolved
Copy link
Contributor

@AndreyBelym AndreyBelym left a comment

Choose a reason for hiding this comment

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

Superb, let's just wait for a stable TestCafe release.

@AndreyBelym
Copy link
Contributor

AndreyBelym commented Aug 2, 2019

@AndreyBelym AndreyBelym merged commit f69d6a6 into DevExpress:master Aug 8, 2019
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