mirror of
https://github.com/maputnik/editor.git
synced 2026-02-10 14:40:01 +00:00
added cypress e2e test (using cypress-image-diff)
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
"i18n:refresh": "i18next 'src/**/*.{ts,tsx,js,jsx}'",
|
||||
"lint": "eslint",
|
||||
"test": "cypress run",
|
||||
"test1": "cypress run --spec cypress/e2e/local-file.cy.ts",
|
||||
"cy:open": "cypress open",
|
||||
"lint-css": "stylelint \"src/styles/*.scss\"",
|
||||
"sort-styles": "jq 'sort_by(.id)' src/config/styles.json > tmp.json && mv tmp.json src/config/styles.json"
|
||||
@@ -127,6 +128,9 @@
|
||||
"@vitejs/plugin-react": "^4.3.4",
|
||||
"cors": "^2.8.5",
|
||||
"cypress": "^14.0.0",
|
||||
"cypress-image-diff-html-report": "^2.2.0",
|
||||
"cypress-image-diff-js": "^2.3.0",
|
||||
"cypress-image-snapshot": "^4.0.1",
|
||||
"cypress-plugin-tab": "^1.0.5",
|
||||
"eslint": "^9.18.0",
|
||||
"eslint-plugin-react": "^7.37.4",
|
||||
|
||||
Reference in New Issue
Block a user