Skip to content

Commit

Permalink
Fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elsmr committed Mar 6, 2024
1 parent eeae05e commit 5be8205
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion cypress/e2e/13-pinning.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,5 +195,7 @@ function setExpressionOnStringValueInSet(expression: string) {
ndv.getters
.inlineExpressionEditorInput()
.clear()
.type(expression, { parseSpecialCharSequences: false });
.type(expression, { parseSpecialCharSequences: false })
// hide autocomplete
.type('{esc}');
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const completerExtension = defineComponent({
}

return autocompletion({
icons: false,
compareCompletions: (a: Completion, b: Completion) => {
if (/\.json$|id$|id['"]\]$/.test(a.label)) return 0;

Expand Down
2 changes: 1 addition & 1 deletion packages/editor-ui/src/styles/plugins/_codemirror.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
font-family: var(--font-family-monospace);
max-height: min(220px, 50vh);
width: min(260px, 50vw);
min-width: auto;
min-width: 100%;
max-width: none;
border: var(--border-base);
border-radius: var(--border-radius-base);
Expand Down

0 comments on commit 5be8205

Please sign in to comment.