1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-08-09 23:45:31 +02:00

test: Setup UI test using BDD approach (#152)

This commit is contained in:
Amrita 2024-10-18 00:03:31 +05:45 committed by GitHub
parent 7f4bc1bb62
commit 4efc3be8d5
7 changed files with 131 additions and 1 deletions

View file

@ -6,7 +6,8 @@
"eject": "react-scripts eject",
"lint": "eslint --ext js,jsx src config-overrides.js",
"start": "react-app-rewired start",
"test": "react-app-rewired test"
"test": "react-app-rewired test",
"test:webui": "cucumber-js --require tests/acceptance/cucumber.conf.js --require tests/acceptance/stepDefinitions -f @cucumber/pretty-formatter"
},
"browserslist": {
"production": [
@ -108,6 +109,8 @@
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@cucumber/cucumber": "^7.3.1",
"@cucumber/pretty-formatter": "^1.0.0-alpha.1",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^15.0.7",
"@testing-library/user-event": "^14.5.2",
@ -119,6 +122,8 @@
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-react": "^7.36.1",
"eslint-plugin-react-hooks": "^4.6.2",
"nightwatch": "^1.7.8",
"nightwatch-api": "^3.0.2",
"react-test-renderer": "18.2.0"
}
}