Skip to content

Commit

Permalink
Update e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PatelUtkarsh committed Apr 15, 2022
1 parent 858339d commit 735b062
Show file tree
Hide file tree
Showing 2 changed files with 2,745 additions and 2,725 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ describe( 'blocks: all', () => {
).toHaveLength( 1 );

// Check if image-list block is rendered.
expect(
await page.$$( '[data-type="material/image-list"]' )
).toHaveLength( 1 );
expect( await page.$$( '.wp-block-material-image-list' ) ).toHaveLength(
1
);

// Check if recent posts block is rendered.
expect(
Expand All @@ -104,7 +104,7 @@ describe( 'blocks: all', () => {

// Check if hand picked posts block is rendered.
expect(
await page.$$( '[data-type="material/hand-picked-posts"]' )
await page.$$( '.wp-block-material-hand-picked-posts' )
).toHaveLength( 1 );

// Check if contact form block is rendered.
Expand Down
Loading

0 comments on commit 735b062

Please sign in to comment.