WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.52k stars 4.21k forks source link

[Flaky Test] should allow blocks to be removed #48277

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

Flaky test detected. This is an auto-generated issue by GitHub Actions. Please do NOT edit this manually.

Test title

should allow blocks to be removed

Test path

specs/editor/plugins/cpt-locking.test.js

Errors

Test passed after 3 failed attempts on try/duotone-custom-properties.


Test passed after 3 failed attempts on try/simple-async-block-loading.


Test passed after 3 failed attempts on try/simple-async-block-loading.


Test passed after 3 failed attempts on try/simple-async-block-loading.


Test passed after 3 failed attempts on update/use-select-resubscribe.


Test passed after 3 failed attempts on update/use-select-resubscribe.


Test passed after 3 failed attempts on try/simple-async-block-loading.


Test passed after 3 failed attempts on try/simple-async-block-loading.


Test passed after 3 failed attempts on add/editor-content-only-lock.


Test passed after 3 failed attempts on add/custom-attribute-sources.


Test passed after 3 failed attempts on add/custom-attribute-sources.


Test passed after 3 failed attempts on add/image-block-aspect-ratio-control.


Test passed after 3 failed attempts on add/image-block-aspect-ratio-control.


Test passed after 3 failed attempts on add/image-block-aspect-ratio-control.


Test passed after 3 failed attempts on add/image-block-aspect-ratio-control.


Test passed after 3 failed attempts on add/image-block-aspect-ratio-control.


Test passed after 3 failed attempts on add/image-block-aspect-ratio-control.


Test passed after 3 failed attempts on add/image-block-aspect-ratio-control.


Test passed after 3 failed attempts on add/image-block-aspect-ratio-control.


Test passed after 3 failed attempts on add/image-block-aspect-ratio-control.


Test passed after 3 failed attempts on add/image-block-aspect-ratio-control.


Test passed after 3 failed attempts on add/image-block-aspect-ratio-control.


Test passed after 3 failed attempts on add/image-block-aspect-ratio-control.


Test passed after 3 failed attempts on add/image-block-aspect-ratio-control.


Test passed after 3 failed attempts on add/image-block-aspect-ratio-control.


Test passed after 3 failed attempts on add/image-block-aspect-ratio-control.


Test passed after 3 failed attempts on add/image-block-aspect-ratio-control.


Test passed after 3 failed attempts on add/image-block-aspect-ratio-control.


Test passed after 3 failed attempts on fix/image-block-aspect-ratio-max-width. ``` ● cpt locking › template_lock false › should allow blocks to be removed expect(received).toMatchSnapshot() Snapshot name: `cpt locking template_lock false should allow blocks to be removed 1` - Snapshot - 1 + Received + 1 @@ -1,7 +1,7 @@ "
- <figure class="wp-block-image"><img alt=""/></figure>
+ <figure class="wp-block-image"><img alt="" style="height:false"/></figure>
  <!-- /wp:image -->

  <!-- wp:quote -->
  <blockquote class="wp-block-quote"><!-- wp:paragraph -->
  <p></p>

  183 |             await clickBlockToolbarButton( 'Options' );
  184 |             await clickMenuItem( 'Delete' );
> 185 |             expect( await getEditedPostContent() ).toMatchSnapshot();
      |                                                    ^
  186 |         } );
  187 |
  188 |         it( 'should allow blocks to be moved', shouldAllowBlocksToBeMoved );

  at Object.toMatchSnapshot (specs/editor/plugins/cpt-locking.test.js:185:43)
      at runMicrotasks (<anonymous>)

● cpt locking › template_lock false › should allow blocks to be removed

expect(received).toMatchSnapshot()

Snapshot name: `cpt locking template_lock false should allow blocks to be removed 1`

- Snapshot  - 1
+ Received  + 1

@@ -1,7 +1,7 @@
  "<!-- wp:image -->
- <figure class="wp-block-image"><img alt=""/></figure>
+ <figure class="wp-block-image"><img alt="" style="height:false"/></figure>
  <!-- /wp:image -->

  <!-- wp:quote -->
  <blockquote class="wp-block-quote"><!-- wp:paragraph -->
  <p></p>

  183 |             await clickBlockToolbarButton( 'Options' );
  184 |             await clickMenuItem( 'Delete' );
> 185 |             expect( await getEditedPostContent() ).toMatchSnapshot();
      |                                                    ^
  186 |         } );
  187 |
  188 |         it( 'should allow blocks to be moved', shouldAllowBlocksToBeMoved );

  at Object.toMatchSnapshot (specs/editor/plugins/cpt-locking.test.js:185:43)
      at runMicrotasks (<anonymous>)

● cpt locking › template_lock false › should allow blocks to be removed

expect(received).toMatchSnapshot()

Snapshot name: `cpt locking template_lock false should allow blocks to be removed 1`

- Snapshot  - 1
+ Received  + 1

@@ -1,7 +1,7 @@
  "<!-- wp:image -->
- <figure class="wp-block-image"><img alt=""/></figure>
+ <figure class="wp-block-image"><img alt="" style="height:false"/></figure>
  <!-- /wp:image -->

  <!-- wp:quote -->
  <blockquote class="wp-block-quote"><!-- wp:paragraph -->
  <p></p>

  183 |             await clickBlockToolbarButton( 'Options' );
  184 |             await clickMenuItem( 'Delete' );
> 185 |             expect( await getEditedPostContent() ).toMatchSnapshot();
      |                                                    ^
  186 |         } );
  187 |
  188 |         it( 'should allow blocks to be moved', shouldAllowBlocksToBeMoved );

  at Object.toMatchSnapshot (specs/editor/plugins/cpt-locking.test.js:185:43)
      at runMicrotasks (<anonymous>)

</details><!-- /__TEST_RESULT__ -->
<!-- /__TEST_RESULTS_LIST__ -->
github-actions[bot] commented 1 year ago

This issue has gone 30 days without any activity.

github-actions[bot] commented 1 year ago

This issue has gone 30 days without any activity.