Skip to content

Commit

Permalink
Merge pull request #2314 from vektor-inc/test/github-work-action
Browse files Browse the repository at this point in the history
GithubのActionで必ずPlaywright Testsが引っ掛かってしまうのを修正していただきました
  • Loading branch information
mthaichi authored Nov 13, 2024
2 parents db874a6 + 50301d9 commit 39f506c
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 39f506c

Please sign in to comment.