From a7868affc376f75f69f9aa6852171d7c907c5df5 Mon Sep 17 00:00:00 2001 From: Petros Paraskevopoulos Date: Tue, 28 Jan 2025 09:35:23 +0200 Subject: [PATCH] Tests: Replace com.zendesk.sdk with zendesk.support import to resolve r 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 --- .../org/wordpress/android/e2e/pages/ContactSupportScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WordPress/src/androidTest/java/org/wordpress/android/e2e/pages/ContactSupportScreen.kt b/WordPress/src/androidTest/java/org/wordpress/android/e2e/pages/ContactSupportScreen.kt index 70ba3e1d93ef..0a9ac0af6ed4 100644 --- a/WordPress/src/androidTest/java/org/wordpress/android/e2e/pages/ContactSupportScreen.kt +++ b/WordPress/src/androidTest/java/org/wordpress/android/e2e/pages/ContactSupportScreen.kt @@ -6,7 +6,7 @@ import androidx.test.espresso.assertion.ViewAssertions import androidx.test.espresso.matcher.ViewMatchers import org.hamcrest.Matchers import org.wordpress.android.support.WPSupportUtils -import com.zendesk.sdk.R as ZendeskR +import zendesk.support.R as ZendeskR class ContactSupportScreen { // Actions: