Skip to content

Commit

Permalink
drop cypress customization (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored May 7, 2024
1 parent 9b5fdbf commit b7fdef1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions generators/server/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,16 +241,6 @@ import org.springframework.security.oauth2.core.oidc.user.OidcUser;`,
}
},

cypress({ application: { srcTestJavascript, cypressTests } }) {
if (!cypressTests) return;
this.editFile(`${srcTestJavascript}/cypress/e2e/administration/administration.cy.ts`, { assertModified: true }, contents =>
contents
.replace("describe('/metrics'", "describe.skip('/metrics'")
.replace("describe('/logs'", "describe.skip('/logs'")
.replace("describe('/configuration'", "describe.skip('/configuration'"),
);
},

restErrors({ application: { javaPackageSrcDir } }) {
this.editFile(`${javaPackageSrcDir}/web/rest/errors/FieldErrorVM.java`, { assertModified: true }, contents =>
addJavaAnnotation(contents, {
Expand Down

0 comments on commit b7fdef1

Please sign in to comment.