Skip to content

Conversation

Alex200207
Copy link

Description:

After migrating from Lens to a custom API, several tests began to fail due to changes in data sources and expected component behavior. Additionally, skeleton loaders were introduced, which affected existing snapshots.

Actions taken:

  • Refactored unit and integration tests to align with the new API.
  • Updated snapshots to reflect the inclusion of skeleton components.
  • Fixed tests that were tightly coupled to the previous data structure or responses.

soy eddy added 15 commits May 26, 2025 20:33
- Updated snapshot for <ExploreTopPublications /> to reflect new structure and styles.
- Simplified test cases by removing unnecessary waitFor and screen.debug calls.
- Added skeleton loading state test to ensure proper rendering during data fetch.
- Improved skeleton component styles for better consistency and readability.
@Alex200207 Alex200207 requested a review from Jadapema May 30, 2025 18:52
@Alex200207 Alex200207 self-assigned this May 30, 2025
@Alex200207 Alex200207 linked an issue May 30, 2025 that may be closed by this pull request
3 tasks
@Alex200207 Alex200207 moved this from Backlog to On review in [email protected] May 30, 2025
@Alex200207 Alex200207 requested a review from geolffreym May 30, 2025 18:52
Copy link

Copy link
Member

@Jadapema Jadapema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Jadapema Jadapema merged commit 9ed7eee into next Jun 5, 2025
2 of 4 checks passed
@github-project-automation github-project-automation bot moved this from On review to Done in [email protected] Jun 5, 2025
@Alex200207 Alex200207 deleted the refactor/tests-api-migration branch June 16, 2025 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

fix:Update tests to work with new API (after Lens migration)

2 participants