-
-
Notifications
You must be signed in to change notification settings - Fork 309
How to write an e2e Test for runtime
luzhuang edited this page Dec 22, 2023
·
16 revisions
git-lfs (Install by official website)
You can refer to e2e/case/animator-play.ts.
You can refer to e2e/case/animator.cy.ts.
npm run e2e:case
After successfully launching the case page, run:
npm run e2e:debug
Open the Cypress client for debugging. Cypress will capture screenshots of your case pages. Review the screenshots, store them in the e2e/fixtures/originImage directory if there are no issues, then rerun the test cases. If the test cases pass, the debugging is complete.
npm run e2e
Note: The e2e testing framework for this project is Cypress. For detailed usage instructions, please refer to https://www.cypress.io/.