Skip to content

Commit

Permalink
Merge branch 'develop' into merge_release_1.43.0_to_develop
Browse files Browse the repository at this point in the history
  • Loading branch information
guarani committed Dec 23, 2020
2 parents 1884f06 + 1c0a764 commit 5c767f2
Show file tree
Hide file tree
Showing 10 changed files with 56 additions and 634 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
type: boolean
default: false
docker:
- image: circleci/node:10
- image: circleci/node:14
steps:
- checkout
- checkout-submodules
Expand Down
4 changes: 4 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Unreleased
1.42.2
------
* [**] Fix issue where removing blocks some blocks would crash the editor.
* [***] Full-width and wide alignment support for Columns
* [***] New Block: File [https://github.com/wordpress-mobile/gutenberg-mobile/pull/2835]
* [**] Image block - Add link picker to the block settings and enhance link settings with auto-hide options [https://github.com/WordPress/gutenberg/pull/27292]
* [*] Fix button link setting, rel link will not be overwritten if modified by the user.

1.42.0
------
Expand Down
3 changes: 3 additions & 0 deletions __device-tests__/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: '../gutenberg/packages/react-native-editor/__device-tests__/.eslintrc.js',
};
36 changes: 0 additions & 36 deletions __device-tests__/gutenberg-editor-contact-info.test.js
Original file line number Diff line number Diff line change
@@ -1,48 +1,12 @@
/**
* Internal dependencies
*/
import EditorPage from '../gutenberg/packages/react-native-editor/__device-tests__/pages/editor-page';
import {
setupDriver,
isLocalEnvironment,
stopDriver,
} from '../gutenberg/packages/react-native-editor/__device-tests__/helpers/utils';

jest.setTimeout( 1000000 );

describe( 'Gutenberg Editor Contact Info Block tests', () => {
let driver;
let editorPage;
let allPassed = true;
// const contactInfoBlockName = 'Contact Info';

// Use reporter for setting status for saucelabs Job
if ( ! isLocalEnvironment() ) {
const reporter = {
specDone: async ( result ) => {
allPassed = allPassed && result.status !== 'failed';
},
};

// eslint-disable-next-line jest/no-jasmine-globals
jasmine.getEnv().addReporter( reporter );
}

beforeAll( async () => {
driver = await setupDriver();
editorPage = new EditorPage( driver );
} );

it( 'should be able to see visual editor', async () => {
await expect( editorPage.getBlockList() ).resolves.toBe( true );
} );

//TODO: Add tests

afterAll( async () => {
if ( ! isLocalEnvironment() ) {
driver.sauceJobStatus( allPassed );
}
await stopDriver( driver );
} );
} );
1 change: 1 addition & 0 deletions bin/ci-checks-js.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ function checkDiff() {
if [[ $? != 0 ]]; then
pFail
elif [[ $diff ]]; then
echo "$diff"
pFail "package-lock.json has changed. Please run npm install and commit the diff"
else
pOk
Expand Down
2 changes: 1 addition & 1 deletion gutenberg
Submodule gutenberg updated 700 files
14 changes: 6 additions & 8 deletions jest_ui.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
const main = require( './jest.config.js' );
const gutenbergJestUIConfig = require( './gutenberg/packages/react-native-editor/jest_ui.config.js' );

module.exports = {
...main,
timers: 'real',
setupFiles: [],
testMatch: [
'<rootDir>/__device-tests__/**/*.test.[jt]s?(x)',
'<rootDir>/gutenberg/packages/react-native-editor/__device-tests__/**/*.test.[jt]s?(x)',
...gutenbergJestUIConfig,
setupFilesAfterEnv: [
'./gutenberg/packages/react-native-editor/jest_ui_setup_after_env.js',
],
testPathIgnorePatterns: [ '/node_modules/', '<rootDir>/jetpack/' ],
testEnvironment:
'./gutenberg/packages/react-native-editor/jest_ui_test_environment.js',
};
2 changes: 1 addition & 1 deletion jetpack
Submodule jetpack updated 36 files
+29 −0 .github/workflows/dangerci.yml
+2 −4 .github/workflows/js-tests.yml
+20 −0 .github/workflows/php-linting.yml
+8 −7 _inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-admin-menu.php
+1 −1 class.json-api-endpoints.php
+2 −2 modules/stats.php
+1 −1 package.json
+1 −1 packages/a8c-mc-stats/composer.json
+1 −1 packages/abtest/composer.json
+1 −1 packages/analyzer/composer.json
+2 −2 packages/assets/composer.json
+8 −8 packages/assets/src/class-assets.php
+1 −1 packages/autoloader/README.md
+1 −1 packages/autoloader/composer.json
+1 −1 packages/blocks/composer.json
+2 −2 packages/codesniffer/composer.json
+1 −1 packages/codesniffer/tests/php/tests/files/master-user-constant.php.tolint
+1 −1 packages/compat/composer.json
+1 −1 packages/connection/composer.json
+2 −2 packages/constants/composer.json
+1 −1 packages/device-detection/composer.json
+1 −1 packages/error/composer.json
+1 −1 packages/heartbeat/composer.json
+2 −2 packages/jitm/composer.json
+1 −1 packages/lazy-images/composer.json
+1 −1 packages/licensing/composer.json
+1 −1 packages/logo/composer.json
+1 −1 packages/options/composer.json
+2 −2 packages/partner/composer.json
+2 −2 packages/redirect/composer.json
+2 −2 packages/roles/composer.json
+2 −2 packages/status/composer.json
+1 −0 packages/sync/src/class-defaults.php
+2 −2 packages/terms-of-service/composer.json
+1 −1 packages/tracking/composer.json
+48 −7 tests/php/core-api/wpcom-endpoints/test-class-wpcom-rest-api-v2-endpoint-admin-menu.php
Loading

0 comments on commit 5c767f2

Please sign in to comment.