Skip to content
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

[Tests] Fix Android Tests Compilation Failure #21627

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

ParaskP7
Copy link
Contributor

This PR replaces the com.zendesk.sdk import with zendesk.support to resolve R.

Updating to Zendesk 5.3.0 (done as part of #21607) comes with significant changes in the Zendesk SDK structure and naming conventions. This cause an issue with the com.zendesk.sdk.R import that was no longer resolvable. Updating the import to zendesk.support.R solves this issue.

For more info see:


To Test:

Run both the below Gradle tasks locally and make sure they complete successfully:


Regression Notes

  1. Potential unintended areas of impact

    • N/A
  2. What I did to test those areas of impact (or what existing automated tests I relied on)

    • See To test section above`
  3. What automated tests I added (or what prevented me from doing so)

    • N/A

PR Submission Checklist:

  • I have completed the Regression Notes.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

Testing Checklist (strike-out the not-applying and unnecessary ones): N/A

Updating to Zendesk 5.3.0 comes with singificant changes in the Zendesk
SDK structure and naming conventions. This cause an issue with the
'com.zendesk.sdk.R' import that was no longer resolvable. Updating the
import to 'zendesk.support.R' solves this issue.

For more info see:
- 5.3.0:
  https://developer.zendesk.com/documentation/classic-web-widget-sdks/
support-sdk/android/release_notes/#530
- Migration from Classic SDKs to Zendesk SDK:
  https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/
sdks/android/migration/#migration-from-classic-sdks-to-zendesk-sdk
@ParaskP7 ParaskP7 added the UI Tests Anything related to automated UI Tests. label Jan 28, 2025
@ParaskP7 ParaskP7 added this to the Future milestone Jan 28, 2025
@ParaskP7 ParaskP7 requested a review from wzieba January 28, 2025 07:44
@wpmobilebot
Copy link
Contributor

WordPress📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress WordPress
FlavorJalapeno
Build TypeDebug
Versionpr21627-a7868af
Commita7868af
Direct Downloadwordpress-prototype-build-pr21627-a7868af.apk
Note: Google Login is not supported on these builds.

@wpmobilebot
Copy link
Contributor

Jetpack📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack Jetpack
FlavorJalapeno
Build TypeDebug
Versionpr21627-a7868af
Commita7868af
Direct Downloadjetpack-prototype-build-pr21627-a7868af.apk
Note: Google Login is not supported on these builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI Tests Anything related to automated UI Tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants