Skip to content

Commit 8831ce7

Browse files
committed
test: implement cypress integration tests
1 parent 44998e5 commit 8831ce7

File tree

10 files changed

+8730
-5621
lines changed

10 files changed

+8730
-5621
lines changed

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

cypress.config.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
const { defineConfig } = require('cypress')
2+
3+
module.exports = defineConfig({
4+
env: {
5+
user: {
6+
7+
password: 'Qwertyuiop1',
8+
},
9+
env: 'develop',
10+
apiKey: 'masterKey',
11+
test: {
12+
adminUrl: 'http://localhost:1337/admin',
13+
host: 'http://localhost:7700',
14+
},
15+
watch: {
16+
adminUrl: 'http://localhost:8000/admin',
17+
host: 'http://localhost:7700',
18+
},
19+
develop: {
20+
adminUrl: 'http://localhost:1337/admin',
21+
host: 'http://localhost:7700',
22+
},
23+
ci: {
24+
adminUrl: 'http://localhost:1337/admin',
25+
host: 'http://meilisearch:7700',
26+
},
27+
prereleaseci: {
28+
adminUrl: 'http://localhost:1337/admin',
29+
host: 'http://localhost:7700',
30+
},
31+
},
32+
e2e: {
33+
setupNodeEvents(on, config) {
34+
// implement node event listeners here
35+
},
36+
},
37+
})

0 commit comments

Comments
 (0)