test(task): run cypress headless

This commit is contained in:
moklick
2020-08-04 00:41:56 +02:00
parent 566a52b161
commit e53da68cb4
+1 -1
View File
@@ -18,7 +18,7 @@
"build:example": "npm install && npm run build && cd example && npm install && npm run build", "build:example": "npm install && npm run build && cd example && npm install && npm run build",
"cy:open": "cypress open", "cy:open": "cypress open",
"cypress": "npm run dev:wait cy:open", "cypress": "npm run dev:wait cy:open",
"test:chrome": "cypress run --browser chrome", "test:chrome": "cypress run --browser chrome --headless",
"test:firefox": "cypress run --browser firefox", "test:firefox": "cypress run --browser firefox",
"test:all": "npm run test:chrome && npm run test:firefox", "test:all": "npm run test:chrome && npm run test:firefox",
"test": "npm run dev:wait test:chrome", "test": "npm run dev:wait test:chrome",