carbon icon indicating copy to clipboard operation
carbon copied to clipboard

refactor(navigation-bar): convert enzyme tests to RTL

Open nuria1110 opened this issue 6 months ago • 0 comments

Proposed behaviour

Convert NavigationBar tests to RTL. Clean up GlobalHeader RTL tests.

Current behaviour

NavigationBar tests are in enzyme.

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
  • [x] Unit tests added or updated if required
  • [ ] Playwright 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
  • [ ] Related docs have been updated if required

QA

  • [ ] Tested in provided StackBlitz sandbox/Storybook
  • [ ] Add new Playwright test coverage if required
  • [ ] Carbon implementation matches Design System/designs
  • [ ] UI Tests GitHub check reviewed if required

Additional context

Testing instructions

nuria1110 avatar Aug 22 '24 15:08 nuria1110