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] Cannot read property 'type' of null - E2E Tests #850

Conversation

evertonlperes
Copy link
Contributor

@evertonlperes evertonlperes commented Oct 21, 2021

Changes

  1. Modified window/index.ts CreateWindow property in order to force disable devTools during E2E tests (spectron issue related

Possible root cause

Possible root cause related to the error: Cannot read property 'type' of null

  1. For E2E tests, spectron requires to the devTools be disabled in order to avoid crashes when the app starts. Looking into spectron issues, devTools can be messed when the test framework starts (issues seen on both jest and mocha). More details: Spectron issue 174

Image

Local intermittent issue:
Screen Shot 2021-10-21 at 1 55 20 PM
s

Signed-off-by: evertonlperes <evertonluperes@gmail.com>
@evertonlperes
Copy link
Contributor Author

Fixed base repo on my forked rd :D - closing

@evertonlperes evertonlperes deleted the e2e-build-issue-fixes branch October 21, 2021 20:23
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.

1 participant