diff --git a/packages/nuxt-ripple-cli/src/commands/init/_templates/layer/latest/cypress/features/example.feature.t b/packages/nuxt-ripple-cli/src/commands/init/_templates/layer/latest/cypress/features/example.feature.t new file mode 100644 index 0000000000..fa7237ab65 --- /dev/null +++ b/packages/nuxt-ripple-cli/src/commands/init/_templates/layer/latest/cypress/features/example.feature.t @@ -0,0 +1,10 @@ +--- +to: cypress/features/example.feature +--- +Feature: Example test + +This is an example test which should be modified or removed as required. See @dpc-sdp/ripple-test-utils for more info. + +@mockserver @skip +Scenario: Example - delete me. + Given I visit the page "/" diff --git a/packages/nuxt-ripple-cli/src/commands/init/_templates/layer/latest/cypress/support/step_definitions/index.ts.t b/packages/nuxt-ripple-cli/src/commands/init/_templates/layer/latest/cypress/support/step_definitions/index.ts.t new file mode 100644 index 0000000000..ee64f42349 --- /dev/null +++ b/packages/nuxt-ripple-cli/src/commands/init/_templates/layer/latest/cypress/support/step_definitions/index.ts.t @@ -0,0 +1,4 @@ +--- +to: cypress/support/step_definitions/index.ts +--- +import '@dpc-sdp/ripple-test-utils/step_definitions' diff --git a/packages/nuxt-ripple-cli/src/commands/init/_templates/layer/latest/github/PULL_REQUEST_TEMPLATE.md.t b/packages/nuxt-ripple-cli/src/commands/init/_templates/layer/latest/github/PULL_REQUEST_TEMPLATE.md.t new file mode 100644 index 0000000000..d219207410 --- /dev/null +++ b/packages/nuxt-ripple-cli/src/commands/init/_templates/layer/latest/github/PULL_REQUEST_TEMPLATE.md.t @@ -0,0 +1,24 @@ +--- +to: .github/PULL_REQUEST_TEMPLATE.yml +--- + + +**Issue**: + +### What I did + +- +- + +### How to test + +- +- + +### Checklist + + +- [ ] I have read the [Ripple documentation](https://www.ripple.sdp.vic.gov.au/framework/) documentation around adding custom functionality. +- [ ] I have added Cypress integration tests for new content types or components +- [ ] I have added unit tests for helper functions +- [ ] This PR requires changes to environment variables which need to be added in https://github.com/dpc-sdp/sdp-cmdb