Closed Bug 2018713 Opened 7 months ago Closed 24 days ago

Migrate DiscoveryStreamComponents unit tests to Jest/RTL

Categories

(Firefox :: New Tab Page, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: maxx, Assigned: rhamoui)

References

Details

Attachments

(1 file, 1 obsolete file)

Migrate the remaining DiscoveryStream component tests (CardSections already done). Covers ad banners, DS cards, impression stats,
feature highlights, navigation, and various utility components.

Updated tests:

  • test/unit/content-src/components/DiscoveryStreamComponents/AdBanner.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/AdBannerContextMenu.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/BriefingCard/BriefingCard.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/CardGrid.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/DSCard.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/DSContextFooter.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/DSEmptyState.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/DSImage.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/DSLinkMenu.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/DSMessage.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/FeatureHighlight.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/FollowSectionButtonHighlight.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/Highlights.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/HorizontalRule.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/ImpressionStats.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/Navigation.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/PrivacyLink.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/ReportContent.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/SafeAnchor.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/SectionTitle.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/ShortcutFeatureHighlight.test.jsx
  • test/unit/content-src/components/DiscoveryStreamComponents/TopicsWidget.test.jsx
Attachment #9556133 - Attachment is obsolete: true
Attachment #9619169 - Attachment description: WIP: Bug 2018713 - Migrate DiscoveryStreamComponents unit tests to Jest/RTL → WIP: Bug 2018713 - Migrate DiscoveryStreamComponents unit tests to Jest/RTL. r?thecount
Attachment #9619169 - Attachment description: WIP: Bug 2018713 - Migrate DiscoveryStreamComponents unit tests to Jest/RTL. r?thecount → WIP: Bug 2018713 - Migrate DiscoveryStreamComponents unit tests to Jest/RTL. r=#home-newtab-reviewers
Assignee: nobody → rhamoui
Attachment #9619169 - Attachment description: WIP: Bug 2018713 - Migrate DiscoveryStreamComponents unit tests to Jest/RTL. r=#home-newtab-reviewers → Bug 2018713 - Migrate DiscoveryStreamComponents unit tests to Jest/RTL. r=#home-newtab-reviewers
Status: NEW → ASSIGNED
Blocks: 2062310
No longer blocks: 2018692
Attachment #9619169 - Attachment description: Bug 2018713 - Migrate DiscoveryStreamComponents unit tests to Jest/RTL. r=#home-newtab-reviewers → Bug 2018713 - Migrate DiscoveryStreamComponents unit tests to Jest/RTL. r?reemhamz
Status: ASSIGNED → RESOLVED
Closed: 24 days ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
QA Whiteboard: [qa-triage-done-c159/b158]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: