Skip to content

test: Automate Favorites Flow UI Tests & Optimize Test Performance#33

Open
rudrigaum wants to merge 15 commits into
mainfrom
test/ui-favorites-flow
Open

test: Automate Favorites Flow UI Tests & Optimize Test Performance#33
rudrigaum wants to merge 15 commits into
mainfrom
test/ui-favorites-flow

Conversation

@rudrigaum
Copy link
Copy Markdown
Owner

Summary

This PR introduces automated E2E UI tests for the Favorites feature and implements critical performance optimizations for the test suite.

Changes

  • UI Tests: Added FavoritesFlowUITests covering:
    • Searching for a meal.
    • Adding to favorites (verifying state change).
    • Verifying persistence in the Favorites tab.
    • Removing from favorites.
  • Accessibility: Added accessibilityIdentifier ("favorite_button") to MealDetailsViewController to ensure robust test selectors independent of localization.
  • Performance:
    • Updated SceneDelegate to disable UIKit animations when the isRunningUITests launch argument is present. This significantly reduces test flakiness and execution time.
    • Disabled parallel test execution in the Scheme/Test Plan to prevent memory issues on CI/CD and local machines.
  • Configuration: Adjusted deployment targets to match physical devices.

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.

1 participant