diff --git a/tests/e2e/specs/editor-toolbar-buttons.spec.js b/tests/e2e/specs/editor-toolbar-buttons.spec.js index b0caa4f..1a4ba96 100644 --- a/tests/e2e/specs/editor-toolbar-buttons.spec.js +++ b/tests/e2e/specs/editor-toolbar-buttons.spec.js @@ -209,19 +209,19 @@ describe('Toolbar Buttons', () => { console.log('Merged Query:', codeMirrorValue); // Verify that the query is now merged properly and formatted -// const expectedMergedQuery = `{ -// viewer { -// name -// } -// }`; -const expectedMergedQueryFromTestsThatIsNotWhatWeGetInBrowserButItsTechnicallyStillValid = `{ - ... on RootQuery { - viewer { - name - } + const expectedMergedQuery = `{ + viewer { + name } }`; - expect(codeMirrorValue).toBe(expectedMergedQueryFromTestsThatIsNotWhatWeGetInBrowserButItsTechnicallyStillValid); +// const expectedMergedQueryFromTestsThatIsNotWhatWeGetInBrowserButItsTechnicallyStillValid = `{ +// ... on RootQuery { +// viewer { +// name +// } +// } +// }`; + expect(codeMirrorValue).toBe(expectedMergedQuery); });