From 9fa702b0ff3f6f9bb95fe99b58a421abf854a530 Mon Sep 17 00:00:00 2001 From: Colin DAMON Date: Wed, 27 Jul 2022 09:20:42 +0200 Subject: [PATCH] Rename cypress module --- .../infrastructure/primary/CypressModuleConfiguration.java | 2 +- src/test/features/cypress.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/tech/jhipster/lite/generator/client/tools/cypress/infrastructure/primary/CypressModuleConfiguration.java b/src/main/java/tech/jhipster/lite/generator/client/tools/cypress/infrastructure/primary/CypressModuleConfiguration.java index 45a44e25091..81b7d19d81f 100644 --- a/src/main/java/tech/jhipster/lite/generator/client/tools/cypress/infrastructure/primary/CypressModuleConfiguration.java +++ b/src/main/java/tech/jhipster/lite/generator/client/tools/cypress/infrastructure/primary/CypressModuleConfiguration.java @@ -15,7 +15,7 @@ JHipsterModuleResource cypresModule(CypressApplicationService cypress) { return JHipsterModuleResource .builder() .legacyUrl("/api/clients/cypress") - .slug("react-cypress") + .slug("cypress") .propertiesDefinition(JHipsterModulePropertiesDefinition.builder().addServerPort().addIndentation().build()) .apiDoc(new JHipsterModuleApiDoc("E2e", "Add Cypress")) .tags("client", "cypress", "e2e") diff --git a/src/test/features/cypress.feature b/src/test/features/cypress.feature index 6d0e45c354d..da4cd759a29 100644 --- a/src/test/features/cypress.feature +++ b/src/test/features/cypress.feature @@ -1,7 +1,7 @@ Feature: Cypress module Scenario: Should apply cypress module - When I apply "react-cypress" module to default project with package json + When I apply "cypress" module to default project with package json | serverPort | 9000 | Then I should have files in "src/test/javascript/integration" | .eslintrc.js |