Skip to content

Commit 435e3c2

Browse files
committed
Move tests to its own folder
1 parent 97682b6 commit 435e3c2

15 files changed

Lines changed: 7 additions & 7 deletions

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ npm run build
1212

1313
## Running test cases
1414

15-
The designated directory for tests is `sdk/src/sdk-tests` folder. All tests will be executed once on the Chrome Headless browser.
15+
The designated directory for tests is `sdk/tests/sdk-tests` folder. All tests will be executed once on the Chrome Headless browser.
1616

1717
Execute following command from the `sdk` folder to start testing.
1818
```sh

sdk/cypress.config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ module.exports = defineConfig({
44
component: {
55
// component options here
66
},
7-
fixturesFolder: './cypress/fixtures',
8-
screenshotsFolder: './cypress/screenshots',
9-
videosFolder: './cypress/videos',
7+
fixturesFolder: './tests/cypress/fixtures',
8+
screenshotsFolder: './tests/cypress/screenshots',
9+
videosFolder: './tests/cypress/videos',
1010
env: {
1111
APP_HOST: 'http://localhost:4200/',
1212
},
1313
e2e: {
1414
setupNodeEvents(on, config) {
1515
// implement node event listeners here
16-
return require('./cypress/plugins/index.js')(on, config)
16+
return require('./tests/cypress/plugins/index.js')(on, config)
1717
},
18-
specPattern: 'cypress/integration/**/*.cy.{js,jsx,ts,tsx}',
19-
supportFile: 'cypress/support/e2e.js',
18+
specPattern: 'tests/cypress/integration/**/*.cy.{js,jsx,ts,tsx}',
19+
supportFile: 'tests/cypress/support/e2e.js',
2020
},
2121
});
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)