carbon
carbon copied to clipboard
test(show-edit-pod): add cypress tests
Proposed behaviour
Refactor for show-edit-pod component to use new cypress-component-react framework for testing. I have added test.js and deleted steps.js and feature file.
Current behaviour
Currently we are using the regular cypress approach with BDD.
Checklist
- [x] Commits follow our style guide
- [ ] Related issues linked in commit messages if required
- [ ] Screenshots are included in the PR if useful
- [ ] All themes are supported if required
- [ ] Unit tests added or updated if required
- [x] Cypress automation tests added or updated if required
- [ ] Storybook added or updated if required
- [ ] Translations added or updated (including creating or amending translation keys table in storybook) if required
- [ ] Typescript
d.ts
file added or updated if required
QA
- [x] Tested in CodeSandbox/storybook
- [x] Add new Cypress test coverage if required
- [x] Carbon implementation matches Design System/designs
- [x] UI Tests GitHub check reviewed if required
Additional context
Testing instructions
- [x] Run npx cypress open --component to check if there is newly added test.file
- [x] Check if the show-edit-pod.test.js file passed
- [x] Compare all tests were moved/refactored from .feature file -> .test.js file
- [x] Check if all unnecessary files were deleted, including .json file
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 7091f5b354e566ed1e1db7c791e5900ad6dd1a81:
Sandbox | Source |
---|---|
carbon-quickstart | Configuration |
carbon-quickstart-typescript | Configuration |
carbon-quickstart | PR |
Test summary
Run details
Project | carbon |
Status | Passed |
Commit | 7091f5b354 |
Started | Aug 24, 2022 8:47 AM |
Ended | Aug 24, 2022 8:54 AM |
Duration | 07:06 💡 |
OS | Linux Debian - 10.10 |
Browser | Chrome 100 ![]() |
View run in Cypress Dashboard ➡️
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard
:tada: This PR is included in version 110.1.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket: