Open cunderw opened 1 year ago
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior Detox can interact with the primary pay button
Smartphone (please complete the following information):
Additional context RN Version: 0.72.0
Code to present the payment sheet: `const {paymentSheet} = await fetchPaymentSheetParams();
const {error} = await initPaymentSheet({ appearance: PaymentSheetStyle, merchantDisplayName: 'Test', customerId: paymentSheet.customer, customerEphemeralKeySecret: paymentSheet.ephemeralKey, paymentIntentClientSecret: paymentSheet.paymentIntent, defaultBillingDetails: { email: user?.details?.email, name: user?.details?.firstName + ' ' + user?.details?.lastName, }, });`
This works in iOS
await waitFor(element(by.text(`Pay $${orderTotal}`))) .toBeVisible() .withTimeout(3000); await element(by.text(`Pay $${orderTotal}`)).tap();
Nothing tried has worked for Android, byId, byText, byType, etc...
Presumably this is related to the accessibility properties of the elements created by the native SDK rather than this react-native interface?
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior Detox can interact with the primary pay button
Smartphone (please complete the following information):
Additional context RN Version: 0.72.0
Code to present the payment sheet: `const {paymentSheet} = await fetchPaymentSheetParams();
This works in iOS
Nothing tried has worked for Android, byId, byText, byType, etc...