-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add more props to the codemirror editor to ease migration from older version #178
Conversation
fontFamily: 'Fira Code, Menlo, Monaco, Lucida Console, monospace', | ||
height: '100%', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is so that consumers can set a minimum height via the className
property and have the background color extend to the full height
.changeset/afraid-beans-juggle.md
Outdated
'@neo4j-cypher/react-codemirror': patch | ||
--- | ||
|
||
Adds more props the CypherEditor component |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: to the CyherEditor component?
@@ -71,5 +71,10 @@ export class CypherEditorPage { | |||
await this.page.getByText(queryChunk, { exact: true }).hover(); | |||
await expect(this.page.locator('.cm-tooltip-hover').last()).toBeVisible(); | |||
await expect(this.page.getByText(expectedMsg)).toBeVisible(); | |||
// make the sure the tooltip closes | |||
await this.page.mouse.move(0, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Funnily enough I had to add this line in #202 🙈
Pretty straightforward codemirror wiring & tests