Skip to content

Commit

Permalink
Re-enable tests reproducing #98
Browse files Browse the repository at this point in the history
  • Loading branch information
wwerner committed Dec 27, 2019
1 parent 6bb3159 commit ff32040
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/test/e2e/cypress/integration/code-generation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
})
});
});
3 changes: 2 additions & 1 deletion src/test/e2e/cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ff32040

Please sign in to comment.