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 :server switch bug + E2E tests for within a Neo4j Desktop env #822

Merged
merged 1 commit into from
Sep 6, 2018

Conversation

oskarhane
Copy link
Member

@oskarhane oskarhane commented Aug 31, 2018

Bring back mistakenly deleted code 😳
Inject fake window.neo4jDesktopApi in a testfile and test auto connection + connection switch

I also refactored the E2E tests to not have a global before hook, but to have one in each file instead to be able to have a different one in the new tests file.
A new E2E test variable is also added, bolt-url, to be able to run tests against other bolt servers than localhost:7687.

changelog: Fix :server switch bug in Neo4j Desktop environment

@oskarhane oskarhane force-pushed the desktop-api-e2e branch 4 times, most recently from 6b41194 to c13ab40 Compare August 31, 2018 18:48
@oskarhane oskarhane force-pushed the desktop-api-e2e branch 4 times, most recently from 9119947 to fd528f9 Compare September 5, 2018 11:05
Also: test connection when provided by desktop api.

Inject fake `window.neo4jDesktopApi` in a testfile and test auto connection + connection switch

Added e2e test config bolt-url to README
@oskarhane oskarhane merged commit dd9f19a into neo4j:master Sep 6, 2018
@oskarhane oskarhane deleted the desktop-api-e2e branch September 6, 2018 08:29
myzero1 pushed a commit to myzero1/neo4j-browser that referenced this pull request May 17, 2019
Fix `:server switch` bug + E2E tests for within a Neo4j Desktop env
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.

1 participant