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

perf: Reduce inner blocks tree depth #5746

Merged
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
5da1503
Update gutenberg submodule hash to 63aa6c0cf80b7b43a493beed8bed348bb7…
wpmobilebot May 8, 2023
fd35bf8
Update gutenberg submodule hash to 2e724c5562d4d9f6d3c444749146f2c625…
wpmobilebot May 9, 2023
0510da6
Update gutenberg submodule hash to 81e8d51d3fc45958fc9e5f39e39c7ff826…
wpmobilebot May 10, 2023
ff5869d
Update gutenberg submodule hash to 43c0b14918f8ed03037c01d94321922dc3…
wpmobilebot May 10, 2023
0174603
Update gutenberg submodule hash to 2cb3c6e477316ff39d664828cc521fc7b3…
wpmobilebot May 10, 2023
ebe1bcf
Update gutenberg submodule hash to 445a5b1393d7b48b960ddf0c88bed4d56a…
wpmobilebot May 10, 2023
af75c5d
Update gutenberg submodule hash to 7618279e52673e6fc252a26dfa4effd882…
wpmobilebot May 10, 2023
6039ffb
build: Generate bundle
dcalhoun May 10, 2023
d4fdce3
Update gutenberg submodule hash to b46922b357c60711d0864abe527efcd318…
wpmobilebot May 11, 2023
6ea4d73
Update bundles
May 11, 2023
85d4b76
Merge branch 'version-toolkit/gutenberg/perf/reduce-inner-blocks-tree…
May 11, 2023
45c3ef6
Update bundles
May 11, 2023
78955d0
test: Fix Columns nested appender Xpath selector
dcalhoun May 11, 2023
a9dec71
test: Fix Android Buttons block selection
dcalhoun May 11, 2023
e78ebb9
test: Workaround flaky Android keyboard display
dcalhoun May 11, 2023
ee41a87
build: Update Gutenberg ref
dcalhoun May 11, 2023
cdaaa5c
Merge branch 'trunk' of github.com:wordpress-mobile/gutenberg-mobile …
dcalhoun May 11, 2023
f598d19
test: Remove unused import
dcalhoun May 11, 2023
6f8cafa
build: Update Gutenberg ref
dcalhoun May 12, 2023
6fadbbc
Merge branch 'trunk' of github.com:wordpress-mobile/gutenberg-mobile …
dcalhoun May 12, 2023
b13a458
Merge branch 'trunk' of github.com:wordpress-mobile/gutenberg-mobile …
dcalhoun May 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe( 'Gutenberg Editor - Test Suite 1', () => {
.elementByAccessibilityId( 'Column Block. Row 1' )
.click();
const appenderButton = await editorPage.waitForElementToBeDisplayedByXPath(
'(//android.view.ViewGroup[@content-desc="block-list"])[2]/android.widget.Button'
'//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'
);
await appenderButton.click();
} else {
Expand Down Expand Up @@ -123,7 +123,7 @@ describe( 'Gutenberg Editor - Test Suite 1', () => {
.elementByAccessibilityId( 'Column Block. Row 1' )
.click();
const appenderButton = await editorPage.waitForElementToBeDisplayedByXPath(
'(//android.view.ViewGroup[@content-desc="block-list"])[2]/android.widget.Button'
'//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'
);
await appenderButton.click();
} else {
Expand Down Expand Up @@ -197,7 +197,7 @@ describe( 'Gutenberg Editor - Test Suite 1', () => {
.elementByAccessibilityId( 'Column Block. Row 1' )
.click();
const appenderButton = await editorPage.waitForElementToBeDisplayedByXPath(
'(//android.view.ViewGroup[@content-desc="block-list"])[2]/android.widget.Button'
'//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'
);
await appenderButton.click();
} else {
Expand Down Expand Up @@ -231,6 +231,9 @@ describe( 'Gutenberg Editor - Test Suite 1', () => {
.click()
.click();
await editorPage.waitForKeyboardToBeHidden();
// Android fails to display the keyboard at times, which can cause the
// above `waitForKeyboardToBeHidden` to finish prematurely.
await editorPage.driver.sleep( 1000 );

// Visual test check for nested content
screenshot = await takeScreenshot();
Expand Down
Loading