From 6f0485ea678bd435d3e32772dc9394619b02929c Mon Sep 17 00:00:00 2001 From: Wolfgang Werner Date: Fri, 27 Dec 2019 12:36:28 +0100 Subject: [PATCH] Revert "Re-enable tests reproducing #98" - committed to wrong branch at first, sorry This reverts commit ff3204081695e2e3e64c5a03c47745d5094d34b1. --- src/test/e2e/cypress/integration/code-generation.spec.ts | 1 - src/test/e2e/cypress/support/commands.ts | 3 +-- .../codegen/JavaCodeGenSchemaVersionResolverTests.java | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/e2e/cypress/integration/code-generation.spec.ts b/src/test/e2e/cypress/integration/code-generation.spec.ts index b4b8c238..0751c45c 100644 --- a/src/test/e2e/cypress/integration/code-generation.spec.ts +++ b/src/test/e2e/cypress/integration/code-generation.spec.ts @@ -29,7 +29,6 @@ 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 02ee1ef1..70bbdbae 100644 --- a/src/test/e2e/cypress/support/commands.ts +++ b/src/test/e2e/cypress/support/commands.ts @@ -14,11 +14,10 @@ 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(selectAllKeys) + .type('{ctrl}a') .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 99168d7b..9959f941 100644 --- a/src/test/java/io/vlingo/schemata/codegen/JavaCodeGenSchemaVersionResolverTests.java +++ b/src/test/java/io/vlingo/schemata/codegen/JavaCodeGenSchemaVersionResolverTests.java @@ -40,6 +40,7 @@ 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);