You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm opening this issue on the xcuitest driver project, since is working on the Android project with the same react-native application code.
If is not related to this, let me know
I'm facing an issue with a React Native application I'm testing. The application is made in react native and, in general is OK and accessible to Appium.
However, there are some elements in the code, for example react native's that I'm not able to make it work in the tests.
A bit of context:
An element inside a list that contains a <View>. Inside that <View> there's a view and a button and inside the 2nd view, 2 <Text> elements.
The <Text> elements both have the testID property set from react native's code
With appium inspector I see the item element as 2 separate elements. One is the button and One is the texts one unique XCUIElementTypeOther (is only seen as one). When I read the XCUIElementTypeOther element, it groups both contained texts. So, if the first contains the text "Card Title 1" and the seconds <Text> contains "Card Sub Title 1", appium sees it as "Card Title 1 Card Sub Title 1 " (including that weird character at the end)
Things to notice:
No id was displayed
If I add to one of elements the "accessibilityLabel", appium sees everything the same, except the testid is added to the element text as such "Card Title 1 test-id-edit-priorities-card-ios-sub-title "
So, my question is. Have anyone faced this issue and know how to solve it?
Hello!
I'm opening this issue on the xcuitest driver project, since is working on the Android project with the same react-native application code.
If is not related to this, let me know
I'm facing an issue with a React Native application I'm testing. The application is made in react native and, in general is OK and accessible to Appium.
However, there are some elements in the code, for example react native's that I'm not able to make it work in the tests.
A bit of context:
<View>
. Inside that<View>
there's a view and a button and inside the 2nd view, 2<Text>
elements.<Text>
elements both have the testID property set from react native's codeWith appium inspector I see the item element as 2 separate elements. One is the button and One is the texts one unique XCUIElementTypeOther (is only seen as one). When I read the XCUIElementTypeOther element, it groups both contained texts. So, if the first contains the text "Card Title 1" and the seconds
<Text>
contains "Card Sub Title 1", appium sees it as "Card Title 1 Card Sub Title 1 " (including that weird character at the end)Things to notice:
If I add to one of elements the "accessibilityLabel", appium sees everything the same, except the testid is added to the element text as such "Card Title 1 test-id-edit-priorities-card-ios-sub-title "
So, my question is. Have anyone faced this issue and know how to solve it?
React native "react-native": "0.76.7",
Appium 2.13.1
Driver [email protected]
Capabilities I'm using
Note on this one, we've tried even setting it to higher numbers and didn't worked
"appium:settings[snapshotMaxDepth]": "65"
The text was updated successfully, but these errors were encountered: