forked from meilisearch/strapi-plugin-meilisearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcypress.config.js
37 lines (36 loc) · 837 Bytes
/
cypress.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
const { defineConfig } = require('cypress')
module.exports = defineConfig({
env: {
user: {
password: 'Qwertyuiop1',
},
env: 'develop',
apiKey: 'masterKey',
test: {
adminUrl: 'http://localhost:1337/admin',
host: 'http://localhost:7700',
},
watch: {
adminUrl: 'http://localhost:8000/admin',
host: 'http://localhost:7700',
},
develop: {
adminUrl: 'http://localhost:1337/admin',
host: 'http://localhost:7700',
},
ci: {
adminUrl: 'http://localhost:1337/admin',
host: 'http://meilisearch:7700',
},
prereleaseci: {
adminUrl: 'http://localhost:1337/admin',
host: 'http://localhost:7700',
},
},
e2e: {
setupNodeEvents() {
// implement node event listeners here
},
},
})