Skip to content

Commit

Permalink
Update few missed
Browse files Browse the repository at this point in the history
  • Loading branch information
Tammie Lister committed Dec 20, 2019
1 parent 09252bd commit 49eda0b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Expand Up @@ -8,19 +8,19 @@ exports[`BlockAlignmentToolbar should match snapshot 1`] = `
"icon": "align-left",
"isActive": true,
"onClick": [Function],
"title": "Align Left",
"title": "Align left",
},
Object {
"icon": "align-center",
"isActive": false,
"onClick": [Function],
"title": "Align Center",
"title": "Align center",
},
Object {
"icon": "align-right",
"isActive": false,
"onClick": [Function],
"title": "Align Right",
"title": "Align right",
},
]
}
Expand Down
14 changes: 7 additions & 7 deletions packages/e2e-tests/specs/editor/plugins/align-hook.test.js
Expand Up @@ -166,8 +166,8 @@ describe( 'Align Hook Works As Expected', () => {
const BLOCK_NAME = 'Test Align Array';

createShowsTheExpectedButtonsTest( BLOCK_NAME, [
'Align Left',
'Align Center',
'Align left',
'Align center',
] );

createDoesNotApplyAlignmentByDefaultTest( BLOCK_NAME );
Expand All @@ -179,11 +179,11 @@ describe( 'Align Hook Works As Expected', () => {
const BLOCK_NAME = 'Test Default Align';
const SELECTED_ALIGNMENT_CONTROL_SELECTOR = '//div[contains(@class, "components-dropdown-menu__menu")]//button[contains(@class, "is-active")][text()="Align Right"]';
createShowsTheExpectedButtonsTest( BLOCK_NAME, [
'Align Left',
'Align Center',
'Align Right',
'Wide Width',
'Full Width',
'Align left',
'Align center',
'Align right',
'Wide width',
'Full width',
] );

it( 'Applies the selected alignment by default', async () => {
Expand Down

0 comments on commit 49eda0b

Please sign in to comment.