
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
github.com/pingcap-incubator/tidb-dashboard/ui
Advanced tools
Since there are some features is different from version to version, we have make test_e2e_compat_features and make test_e2e_common_features to test features compatibility in different versions and common features in all versions, respectively.
The Cypress has been added to package.json, so just run yarn to install it. We use Cypress@8.5.0 here since the version>8.5.0 has an unstable server connection error, the related issue can be referred here.
Prerequisite: TiDB Dashboard server has to be started before run cypress test.
# start frontend server
cd ui && yarn start
# start backend server
make dev && make run
# open cypress test runner
cd ui && yarn open:cypress
# start frontend server
cd ui && yarn start
# start backend server
make dev && make run FEATURE_VERSION=5.0.0
# open cypress test runner
cd ui && yarn open:cypress --env FEATURE_VERSION=5.0.0
Run test by choosing test file under /integration on cypress test runner, cypress will open a broswer to run e2e test.
# start frontend server
make ui
# start backend server
UI=1 make && make run FEATURE_VERSION=${FEATURE_VERSION}
# run e2e_compat_features and e2e_common_features tests
make test_e2e FEATURE_VERSION=${FEATURE_VERSION}
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.