diff --git a/src/test/e2e/cypress/integration/code-generation.spec.ts b/src/test/e2e/cypress/integration/code-generation.spec.ts index 0751c45c..b4b8c238 100644 --- a/src/test/e2e/cypress/integration/code-generation.spec.ts +++ b/src/test/e2e/cypress/integration/code-generation.spec.ts @@ -29,6 +29,7 @@ describe('Schemata View Tests', function () { cy.wait(500).contains('button', 'Source').click() cy.editorContent('#source-editor').should('contain', 'public final class SalutationHappened') + cy.editorContent('#source-editor').should('contain', 'String foo') }) }); }); diff --git a/src/test/e2e/cypress/support/commands.ts b/src/test/e2e/cypress/support/commands.ts index 70bbdbae..02ee1ef1 100644 --- a/src/test/e2e/cypress/support/commands.ts +++ b/src/test/e2e/cypress/support/commands.ts @@ -14,10 +14,11 @@ Cypress.Commands.add("fillField", (label: string, text: string) => { }) Cypress.Commands.add("fillEditor", (id: string, text: string) => { + const selectAllKeys = Cypress.platform == 'darwin' ? '{cmd}a' : '{ctrl}a'; cy.get(id) .click() .focused() - .type('{ctrl}a') + .type(selectAllKeys) .type(text) }) diff --git a/src/test/java/io/vlingo/schemata/codegen/JavaCodeGenSchemaVersionResolverTests.java b/src/test/java/io/vlingo/schemata/codegen/JavaCodeGenSchemaVersionResolverTests.java index 9959f941..99168d7b 100644 --- a/src/test/java/io/vlingo/schemata/codegen/JavaCodeGenSchemaVersionResolverTests.java +++ b/src/test/java/io/vlingo/schemata/codegen/JavaCodeGenSchemaVersionResolverTests.java @@ -40,7 +40,6 @@ public class JavaCodeGenSchemaVersionResolverTests{ @Test - @Ignore("Ignored on master due to #98") public void testThatSpecificationsContainingBasicTypesCanBeCompiledWithSchemaVersionQueryTypeResolver() throws Exception { World world = TestWorld.startWithDefaults(getClass().getSimpleName()).world(); TypeParser typeParser = world.actorFor(TypeParser.class, AntlrTypeParser.class);