Skip to content

Commit

Permalink
fix: pwee
Browse files Browse the repository at this point in the history
  • Loading branch information
drill-lancer authored and mtdkei committed Nov 13, 2024
1 parent 498b9ca commit c148bd7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/e2e/heading-transform.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,26 +52,26 @@ test.describe( 'Block', () => {

// 変換内容
await expect( page.locator( '.wp-block-heading' ) ).toHaveClass(
'block-editor-rich-text__editable block-editor-block-list__block wp-block is-multi-selected wp-elements-0 has-contrast-color has-text-color wp-block-heading rich-text'
'block-editor-rich-text__editable block-editor-block-list__block wp-block is-multi-selected wp-elements-0 has-accent-1-color has-text-color wp-block-heading rich-text'
);
await expect( page.locator( '.wp-block-heading' ) ).toHaveCSS(
'margin-bottom',
'16px'
);
await expect( page.locator( 'p.has-text-color' ) ).toHaveCSS(
'font-size',
'32px'
'31.2896px'
);
await expect( page.locator( '.wp-block-heading' ) ).toHaveClass(
'block-editor-rich-text__editable block-editor-block-list__block wp-block is-multi-selected wp-elements-0 has-contrast-color has-text-color wp-block-heading rich-text'
'block-editor-rich-text__editable block-editor-block-list__block wp-block is-multi-selected wp-elements-0 has-accent-1-color has-text-color wp-block-heading rich-text'
);
await expect( page.locator( '.wp-block-heading' ) ).toHaveCSS(
'margin-bottom',
'16px'
);
await expect( page.locator( 'p.has-text-color' ) ).toHaveCSS(
'font-size',
'32px'
'31.2896px'
);

} );
Expand Down

0 comments on commit c148bd7

Please sign in to comment.