-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(ui): add cypress tests to github actions #2285
base: dev
Are you sure you want to change the base?
Conversation
…torTeam/AntaREST into test/setup-cypress
…torTeam/AntaREST into test/setup-cypress
@@ -25,6 +25,7 @@ | |||
"@reduxjs/toolkit": "1.9.6", | |||
"axios": "1.7.7", | |||
"clsx": "2.1.1", | |||
"cypress": "13.17.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move to devDependencies
@@ -21,6 +21,7 @@ import jsdocPlugin from "eslint-plugin-jsdoc"; | |||
import prettierPluginRecommended from "eslint-plugin-prettier/recommended"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only add this line:
cypressPlugin.configs.recommended,
before
prettierPluginRecommended, // Must be the last one
It includes all.
@@ -25,6 +25,7 @@ | |||
"@reduxjs/toolkit": "1.9.6", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a npm script for cypress
@@ -0,0 +1,15 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use .ts for all test files instead to support TypeScript
No description provided.