mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-09-09 06:30:40 +02:00
4196 integration tests with cypress (#4206)
* - update gitignore - add cypress configuration and example test * add integration tests to ci workflow * add note about running integration tests * Update docs/general/contributing.md Co-authored-by: Tim Buckley <timothypbuckley@gmail.com> * Update .gitignore Co-authored-by: Tim Buckley <timothypbuckley@gmail.com> * Update cypress.json Co-authored-by: Tim Buckley <timothypbuckley@gmail.com> * add baseUrl, remove goTo command Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
This commit is contained in:
committed by
GitHub
parent
1fe6d0cef1
commit
4181107e56
@@ -30,7 +30,10 @@
|
||||
"test": "mocha --require ./config/babel/register.cjs ./packages/*/test/index.js",
|
||||
"test:custom": "mocha --require ./config/babel/register.cjs ./packages/slate/test/index.js",
|
||||
"test:inspect": "yarn test --inspect-brk",
|
||||
"watch": "yarn build:rollup --watch"
|
||||
"test:integration": "run-p -r serve cypress:run",
|
||||
"watch": "yarn build:rollup --watch",
|
||||
"cypress:run": "cypress run",
|
||||
"cypress:open": "cypress open"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.7.4",
|
||||
@@ -48,6 +51,7 @@
|
||||
"@babel/runtime": "^7.7.4",
|
||||
"@changesets/changelog-github": "^0.3.0",
|
||||
"@changesets/cli": "^2.14.1",
|
||||
"@testing-library/cypress": "^7.0.5",
|
||||
"@types/lodash": "^4.14.149",
|
||||
"@types/mocha": "^5.2.7",
|
||||
"@types/node": "^12.12.14",
|
||||
@@ -59,6 +63,7 @@
|
||||
"babel-plugin-dev-expression": "^0.2.2",
|
||||
"babel-plugin-module-resolver": "^3.1.1",
|
||||
"cross-env": "6.0.3",
|
||||
"cypress": "^7.1.0",
|
||||
"emotion": "^10.0.9",
|
||||
"eslint": "^6.7.1",
|
||||
"eslint-config-prettier": "^6.7.0",
|
||||
|
Reference in New Issue
Block a user