Skip to content

test(e2e): Adds Feedback Widget Maestro E2E tests #4604

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 236 commits into
base: feedback-ui-2
Choose a base branch
from

Conversation

antonis
Copy link
Collaborator

@antonis antonis commented Feb 26, 2025

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

Based on: #4726

PR Chain:

📜 Description

Adds Feedback Widget Maestro E2E tests for the happy path flow:

  • Show feedback button
  • Open the feedback widget
  • Fill and submit the form

💡 Motivation and Context

Part of #4302

💚 How did you test it?

CI, Manual

Note: To run Android locally you might need to change the build architecture android.patch

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

  • Add more tests outside the happy path
  • Handle RN 0.65.3

#skip-changelog

@antonis
Copy link
Collaborator Author

antonis commented Apr 10, 2025

iOS tests fail to detect input and button fields.

Fixing accessibility with #4739 resolved this issue.

Base automatically changed from antonis/ios-accessibility to feedback-ui-2 April 14, 2025 14:50
@antonis antonis changed the base branch from feedback-ui-2 to antonis/capture-screenshot-error April 16, 2025 13:22
antonis added 2 commits April 16, 2025 16:22
…-e2e

# Conflicts:
#	CHANGELOG.md
#	packages/core/android/src/oldarch/java/io/sentry/react/RNSentryModule.java
#	packages/core/src/js/feedback/FeedbackWidget.tsx
#	packages/core/src/js/feedback/ScreenshotButton.tsx
#	packages/core/src/js/tracing/reactnativeprofiler.tsx
#	packages/core/test/feedback/ScreenshotButton.test.tsx
#	packages/core/test/feedback/__snapshots__/FeedbackWidgetManager.test.tsx.snap
Base automatically changed from antonis/capture-screenshot-error to feedback-ui-2 April 17, 2025 07:13
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