Skip to content

test: Update analytics metadata tests for description extraction#4574

Merged
gethinwebster merged 1 commit into
mainfrom
dev-v3-gethinw-fix-description-tests
Jun 2, 2026
Merged

test: Update analytics metadata tests for description extraction#4574
gethinwebster merged 1 commit into
mainfrom
dev-v3-gethinw-fix-description-tests

Conversation

@gethinwebster

Copy link
Copy Markdown
Member

Description

Update button and flashbar analytics metadata tests to account for the new description field extracted via aria-describedby from component-toolkit PR #220.

  • Button: disabledReason is now surfaced as description in component metadata
  • Flashbar: collapsible (stackItems=true) list's aria-describedby pointing to the item counter is now extracted as description

Related links, issue #, if available: cloudscape-design/component-toolkit#220

How has this been tested?

All 37 analytics-metadata test suites pass (286 tests).

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes are test-only, no production code affected.

Security

  • N/A — test changes only.

Add expected description field to button and flashbar analytics metadata
tests following component-toolkit PR #220 which extracts aria-describedby
content into component metadata.
@codecov

codecov Bot commented Jun 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.43%. Comparing base (5ca6b74) to head (38aa554).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4574   +/-   ##
=======================================
  Coverage   97.43%   97.43%           
=======================================
  Files         941      941           
  Lines       29692    29692           
  Branches    10790    10790           
=======================================
  Hits        28930    28930           
  Misses        755      755           
  Partials        7        7           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@gethinwebster gethinwebster added this pull request to the merge queue Jun 2, 2026
Merged via the queue into main with commit 370a90e Jun 2, 2026
53 checks passed
@gethinwebster gethinwebster deleted the dev-v3-gethinw-fix-description-tests branch June 2, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants