-
Notifications
You must be signed in to change notification settings - Fork 58
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
Upgrade React Native 0.71.11
- Android changes
#5872
Merged
fluiddot
merged 11 commits into
upgrade/react-native-0.71.8
from
upgrade/react-native-0.71.8-android
Jul 3, 2023
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
f726421
Update Gutenberg ref
fluiddot 0e3e66a
build: Update Gutenberg ref
dcalhoun 85517b6
build: Update Gutenberg ref
dcalhoun 5fd5550
build: Capture package-lock.json changes
dcalhoun aae07ae
Update Gutenberg ref
fluiddot a70ddde
Merge branch 'upgrade/react-native-0.71.8' into upgrade/react-native-…
fluiddot ddc237f
Update Gutenberg ref
fluiddot 904caa0
Merge branch 'upgrade/react-native-0.71.8' into upgrade/react-native-…
fluiddot 653ab74
Update Gutenberg ref
fluiddot 7ddb038
Update Gutenberg ref
fluiddot fb44472
Update a11y id queries for Android E2E tests
fluiddot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,9 @@ const { | |
} = e2eUtils; | ||
import { NESTED_COLUMNS_3_LEVELS } from './test-editor-data'; | ||
|
||
const ANDROID_COLUMN_APPENDER_BUTTON_XPATH = | ||
'//android.widget.Button[@content-desc="Column Block. Row 1"]/android.view.ViewGroup[2]/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.view.ViewGroup/android.widget.Button'; | ||
|
||
describe( 'Gutenberg Editor - Test Suite 1', () => { | ||
describe( 'Columns block', () => { | ||
it( 'displays placeholders when unselected', async () => { | ||
|
@@ -64,7 +67,7 @@ describe( 'Gutenberg Editor - Test Suite 1', () => { | |
.elementByAccessibilityId( 'Column Block. Row 1' ) | ||
.click(); | ||
const appenderButton = await editorPage.waitForElementToBeDisplayedByXPath( | ||
'//android.widget.Button[@content-desc="Column Block. Row 1"]/android.view.ViewGroup[2]/android.view.ViewGroup/android.widget.Button/android.view.ViewGroup/android.view.ViewGroup' | ||
ANDROID_COLUMN_APPENDER_BUTTON_XPATH | ||
); | ||
await appenderButton.click(); | ||
} else { | ||
|
@@ -121,7 +124,7 @@ describe( 'Gutenberg Editor - Test Suite 1', () => { | |
.elementByAccessibilityId( 'Column Block. Row 1' ) | ||
.click(); | ||
const appenderButton = await editorPage.waitForElementToBeDisplayedByXPath( | ||
'//android.widget.Button[@content-desc="Column Block. Row 1"]/android.view.ViewGroup[2]/android.view.ViewGroup/android.widget.Button/android.view.ViewGroup/android.view.ViewGroup' | ||
ANDROID_COLUMN_APPENDER_BUTTON_XPATH | ||
); | ||
await appenderButton.click(); | ||
} else { | ||
|
@@ -191,7 +194,7 @@ describe( 'Gutenberg Editor - Test Suite 1', () => { | |
.elementByAccessibilityId( 'Column Block. Row 1' ) | ||
.click(); | ||
const appenderButton = await editorPage.waitForElementToBeDisplayedByXPath( | ||
'//android.widget.Button[@content-desc="Column Block. Row 1"]/android.view.ViewGroup[2]/android.view.ViewGroup/android.widget.Button/android.view.ViewGroup/android.view.ViewGroup' | ||
ANDROID_COLUMN_APPENDER_BUTTON_XPATH | ||
); | ||
await appenderButton.click(); | ||
} else { | ||
|
@@ -249,9 +252,7 @@ describe( 'Gutenberg Editor - Test Suite 1', () => { | |
// Wait for the modal to open | ||
await editorPage.driver.sleep( 3000 ); | ||
|
||
const cellId = isAndroid() | ||
? 'Column 1. Width is 50 Percent (%)., double-tap to change unit' | ||
: 'Column 1. Width is 50 Percent (%).'; | ||
const cellId = 'Column 1. Width is 50 Percent (%).'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar to this change, the accessibility hint is no longer appended to the accessibility content description on Android. |
||
const cell = await editorPage.driver.elementByAccessibilityId( | ||
cellId | ||
); | ||
|
Submodule gutenberg
updated
46 files
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't checked it further, but seems the native composition for
Button
has changed in the new version of RN or dependencies. I experienced something similar in Gutenberg with other elements (example).