carbon icon indicating copy to clipboard operation
carbon copied to clipboard

test(show-edit-pod): add cypress tests

Open divyajindel opened this issue 1 year ago • 2 comments

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

divyajindel avatar Aug 10 '22 10:08 divyajindel

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

codesandbox-ci[bot] avatar Aug 10 '22 10:08 codesandbox-ci[bot]



Test summary

2873 0 2 0Flakiness 0


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

cypress[bot] avatar Aug 10 '22 11:08 cypress[bot]

:tada: This PR is included in version 110.1.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

carbonci avatar Aug 25 '22 16:08 carbonci