carbon icon indicating copy to clipboard operation
carbon copied to clipboard

test(simple-color-picker): refactor cypress tests

Open DlgSHi opened this issue 2 years ago • 2 comments

Proposed behaviour

Refactor Cypress tests for the Simple-Color-Picker component to use new cypress-component-react framework for testing. Add simple-color-picker.test.js.

Current behaviour

Current process is 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

  • [ ] Tested in CodeSandbox/storybook
  • [ ] Add new Cypress test coverage if required
  • [ ] Carbon implementation matches Design System/designs
  • [ ] UI Tests GitHub check reviewed if required

Additional context

Testing instructions

  • [ ] Run npx cypress open --component to check if there is newly added test.file
  • [ ] Check if the simple-color-picker.test.js file passed
  • [ ] Check all tests were moved/refactored from .feature file -> .test.js file
  • [ ] Check all unnecessary files were deleted, including .json file
  • [ ] Run npx cypress run --component to check none of the other *.test.js files have regressed
  • [ ] Run npx cypress run --e2e to check none of the feature files have regressed

DlgSHi avatar Aug 12 '22 12:08 DlgSHi

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 a8ea52aff63e985206b96c9341206cb4a7fe7a91:

Sandbox Source
carbon-quickstart Configuration
carbon-quickstart-typescript Configuration

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



Test summary

2847 0 2 0Flakiness 0


Run details

Project carbon
Status Passed
Commit a8ea52aff6
Started Aug 17, 2022 11:52 AM
Ended Aug 17, 2022 11:58 AM
Duration 05:48 💡
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 12 '22 12:08 cypress[bot]

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

The release is available on:

Your semantic-release bot :package::rocket:

carbonci avatar Aug 17 '22 15:08 carbonci