Skip to content

Commit ec22856

Browse files
Merge branch 'develop' of https://github.com/gambitph/Stackable into develop
2 parents a480432 + 19786a9 commit ec22856

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

e2e/tests/global-settings.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test.describe( 'Global Settings', () => {
2020
page,
2121
editor,
2222
} ) => {
23-
await page.getByLabel( 'Stackable Settings' ).click()
23+
await page.getByLabel( 'Stackable Design System' ).click()
2424
await page.getByRole( 'button', { name: 'Global Color Palette' } ).click()
2525

2626
// Add a new Global Color
@@ -66,7 +66,7 @@ test.describe( 'Global Settings', () => {
6666
await page.locator( '.stk-color-palette-control .stk-control-content > .components-dropdown > .components-button' ).first().click()
6767

6868
// Delete added Global Color
69-
await page.getByLabel( 'Stackable Settings' ).click()
69+
await page.getByLabel( 'Stackable Design System' ).click()
7070

7171
page.on( 'dialog', async dialog => await dialog.accept() )
7272
const deleteRequest = page.waitForResponse( response => response.url().includes( 'wp/v2/settings' ) && response.request().method() === 'POST' )
@@ -82,7 +82,7 @@ test.describe( 'Global Settings', () => {
8282
page,
8383
editor,
8484
} ) => {
85-
await page.getByLabel( 'Stackable Settings' ).click()
85+
await page.getByLabel( 'Stackable Design System' ).click()
8686
await page.getByRole( 'button', { name: 'Global Typography' } ).click()
8787

8888
// Set Global Typography Styles of Heading 2 to have a text-transform uppercase
@@ -107,7 +107,7 @@ test.describe( 'Global Settings', () => {
107107
await expect( editor.canvas.locator( '[data-type="stackable/heading"] > .stk-block-heading > h2[role="textbox"]' ) ).toHaveCSS( 'text-transform', 'uppercase' )
108108

109109
// Reset Global Typography Styles
110-
await page.getByLabel( 'Stackable Settings' ).click()
110+
await page.getByLabel( 'Stackable Design System' ).click()
111111

112112
const resetButton = page.locator( '.ugb-global-settings-typography-control' ).nth( 1 ).getByLabel( 'Reset' )
113113
const deleteRequest = page.waitForResponse( response => response.url().includes( 'wp/v2/settings' ) && response.request().method() === 'POST' )
@@ -121,7 +121,7 @@ test.describe( 'Global Settings', () => {
121121
page,
122122
editor,
123123
} ) => {
124-
await page.getByLabel( 'Stackable Settings' ).click()
124+
await page.getByLabel( 'Stackable Design System' ).click()
125125
await page.getByRole( 'button', { name: 'Block Defaults' } ).click()
126126

127127
// Open the Default Text Block Editor
@@ -179,7 +179,7 @@ test.describe( 'Global Settings', () => {
179179
}
180180

181181
// Reset Default Block
182-
await page.getByLabel( 'Stackable Settings' ).click()
182+
await page.getByLabel( 'Stackable Design System' ).click()
183183
await page.getByRole( 'button', { name: 'Block Defaults' } ).click()
184184
await page.locator( '.components-panel__body', { hasText: 'Block Defaults' } ).locator( '.stk-block-default-control', { hasText: /^Text$/ } ).first().getByLabel( 'Reset' ).click()
185185
} )

src/plugins/global-settings/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const GlobalSettings = () => {
6666
{ PluginSidebar && userCanManageOptions &&
6767
<PluginSidebar
6868
name="sidebar"
69-
title={ __( 'Stackable Settings', i18n ) }
69+
title={ __( 'Stackable Design System', i18n ) }
7070
className="ugb-global-settings__inspector"
7171
icon={ <SVGStackableIcon /> }
7272
>

0 commit comments

Comments
 (0)