Skip to content

Latest commit

 

History

History
129 lines (69 loc) · 4.61 KB

CHANGELOG.md

File metadata and controls

129 lines (69 loc) · 4.61 KB

Unreleased

Breaking Change

  • Increase the minimum Node.js version to 14 (#43141).

7.2.0 (2022-04-08)

Enhancement

  • Changed setOption to use options.php, to allow setting any option (and to be more consistent with getOption). #39502
  • Changed setOption to return the changed setting's previous value (to make restoring it easier). #39502
  • Added a new trashAllComments function.

7.0.0 (2022-03-11)

Breaking Changes

  • Updated clickMenuItem method to use exact label matching instead of partial #39274.

Enhancement

  • The toggleMoreMenu and clickMoreMenuItem utilities no longer require a second 'context' parameter.

6.0.0 (2022-01-27)

Breaking Changes

  • The peer jest dependency has been updated from requiring >=26 to requiring >=27 (see Breaking Changes, #33287).
  • The peer puppeteer dependency has been replaced with puppeteer-core requiring version >=11 (see Breaking Changes, #36040).

New Features

  • Added createReusableBlock function to make it easier to create a simple reusable block (#37333).
  • Added getOption and setOption functions to make it easier to set and reset options such as the site title and site tagline (#37139).

5.4.6 (2021-11-07)

New Features

  • Added disablePageDialogAccept - Disable auto-accepting dialogs enabled by enablePageDialogAccept #35828.

5.4.0 (2021-07-21)

New Features

  • Added createUser and deleteUser - Create and delete a user account, respectively.
  • Added getCurrentUser - Determine the currently logged in user. Changed switchUserToAdmin and switchUserToTest to use it.

5.3.0 (2021-05-31)

New Features

  • Added deleteAllWidgets - Delete all widgets in the widgets screen.

5.0.0 (2021-01-21)

Breaking Changes

  • toggleScreenOption util has been removed, since Preferences modal was redesigned. Use togglePreferencesOption instead (#28329).

  • Increase the minimum Node.js version to 12 (#27934).

4.16.0 (2020-12-17)

New Features

  • Added clickMenuItem - clicks the item that matches the label in the opened menu.

4.5.0 (2020-04-15)

Enhancements

  • visitAdminPage will now throw an error (emit a test failure) when there are unexpected errors on hte page.

New Features

  • Added getPageError function, returning a promise which resolves to an error message present in the page, if any exists.

4.0.0 (2019-12-19)

Breaking Changes

  • The disableNavigationMode utility was removed. By default, the editor is in edit mode now.

Improvements

  • setBrowserViewport accepts an object of width, height values, to assign a viewport of arbitrary size.

3.0.0 (2019-11-14)

Breaking Changes

  • The util function enableExperimentalFeatures was removed. It is now available for internal usage in the e2e-tests package.

2.0.0 (2019-05-21)

Requirements

  • The minimum version of Gutenberg 5.6.0 or the minimum version of WordPress 5.2.0.

Bug Fixes

  • WordPress 5.2: Fix a false positive build failure caused by Dashicons font file.
  • WordPress 5.2: Fix a test failure for Classic Block media insertion caused by a change in tooltips text (rWP45066).

1.1.0 (2019-03-20)

New Features

  • New Function: getAllBlockInserterItemTitles - Returns an array of strings with all inserter item titles.
  • New Function: openAllBlockInserterCategories - Opens all block inserter categories.
  • New Function: getAllBlockInserterItemTitles - Opens the global block inserter.

Requirements

  • The minimum version of Gutenberg 5.3.0 or the minimum version of WordPress 5.2.0.

1.0.0 (2019-03-06)

New Features

  • Initial release.

Requirements

  • The minimum version of Gutenberg 5.2.0 or the minimum version of WordPress 5.2.0.