Skip to content

Commit

Permalink
Global Styles: Update "Other styles" to "Browse styles" (#39752)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Mar 25, 2022
1 parent 0d668b7 commit 7697a1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
} from '@wordpress/e2e-test-utils';

async function openOtherStyles() {
const OTHER_STYLES_SELECTOR = '//div[contains(text(),"Other styles")]';
const OTHER_STYLES_SELECTOR = '//div[contains(text(),"Browse styles")]';
await ( await page.waitForXPath( OTHER_STYLES_SELECTOR ) ).click();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function ScreenRoot() {
{ !! variations?.length && (
<NavigationButton path="/variations">
<HStack justify="space-between">
<FlexItem>{ __( 'Other styles' ) }</FlexItem>
<FlexItem>{ __( 'Browse styles' ) }</FlexItem>
<FlexItem>
<Icon
icon={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function ScreenStyleVariations() {
<>
<ScreenHeader
back="/"
title={ __( 'Other styles' ) }
title={ __( 'Browse styles' ) }
description={ __(
'Choose a different style combination for the theme styles'
) }
Expand Down

0 comments on commit 7697a1c

Please sign in to comment.