Skip to content

[Flaky Test] should retain template if deletion is canceled when the viewport is small #39121

@github-actions

Description

@github-actions

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

Test title

should retain template if deletion is canceled when the viewport is small

Test path

specs/editor/various/post-editor-template-mode.test.js

Flaky rate (estimated)

58 / 59 runs

Errors

[2022-02-28T09:33:47.996Z] Test passed after 1 failed attempts on migrate/edit-post-to-use-new-preferences.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    Evaluation failed: TypeError: wp.data.dispatch(...).toggle is not a function

      at ../../__puppeteer_evaluation_script__:1:43
      at ExecutionContext._evaluateInternal (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
          at runMicrotasks (<anonymous>)
      at ExecutionContext.evaluate (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:240:5)

[2022-03-08T18:29:43.524Z] Test passed after 1 failed attempts on update/npm-publishing-workflow-changes.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    Evaluation failed: TypeError: wp.data.dispatch(...).toggle is not a function

      at ../../__puppeteer_evaluation_script__:1:43
      at ExecutionContext._evaluateInternal (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
          at runMicrotasks (<anonymous>)
      at ExecutionContext.evaluate (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:240:5)

[2022-03-08T20:38:03.997Z] Test passed after 1 failed attempts on use-android-artifact-for-react-native-libraries.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    Evaluation failed: TypeError: wp.data.dispatch(...).toggle is not a function

      at ../../__puppeteer_evaluation_script__:1:43
      at ExecutionContext._evaluateInternal (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
      at ExecutionContext.evaluate (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:240:5)

[2022-03-08T22:01:38.381Z] Test passed after 1 failed attempts on fix/image-block-styles.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    Evaluation failed: TypeError: wp.data.dispatch(...).toggle is not a function

      at ../../__puppeteer_evaluation_script__:1:43
      at ExecutionContext._evaluateInternal (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
          at runMicrotasks (<anonymous>)
      at ExecutionContext.evaluate (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:240:5)

[2022-03-08T22:49:57.902Z] Test passed after 1 failed attempts on trunk.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    Evaluation failed: TypeError: wp.data.dispatch(...).toggle is not a function

      at ../../__puppeteer_evaluation_script__:1:43
      at ExecutionContext._evaluateInternal (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
          at runMicrotasks (<anonymous>)
      at ExecutionContext.evaluate (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:240:5)

[2022-03-08T23:06:42.281Z] Test passed after 1 failed attempts on trunk.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    Evaluation failed: TypeError: wp.data.dispatch(...).toggle is not a function

      at ../../__puppeteer_evaluation_script__:1:43
      at ExecutionContext._evaluateInternal (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
      at ExecutionContext.evaluate (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:240:5)

[2022-03-08T23:15:34.343Z] Test passed after 1 failed attempts on trunk.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    Evaluation failed: TypeError: wp.data.dispatch(...).toggle is not a function

      at ../../__puppeteer_evaluation_script__:1:43
      at ExecutionContext._evaluateInternal (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
          at runMicrotasks (<anonymous>)
      at ExecutionContext.evaluate (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:240:5)

[2022-03-08T23:36:15.836Z] Test passed after 1 failed attempts on try/cache-used-webfonts.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    Evaluation failed: TypeError: wp.data.dispatch(...).toggle is not a function

      at ../../__puppeteer_evaluation_script__:1:43
      at ExecutionContext._evaluateInternal (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
          at runMicrotasks (<anonymous>)
      at ExecutionContext.evaluate (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:240:5)

[2022-03-09T00:39:25.669Z] Test passed after 1 failed attempts on trunk.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    Evaluation failed: TypeError: wp.data.dispatch(...).toggle is not a function

      at ../../__puppeteer_evaluation_script__:1:43
      at ExecutionContext._evaluateInternal (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
          at runMicrotasks (<anonymous>)
      at ExecutionContext.evaluate (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:240:5)

[2022-03-09T01:36:43.846Z] Test passed after 1 failed attempts on add/name-to-block-editor-context.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    Evaluation failed: TypeError: wp.data.dispatch(...).toggle is not a function

      at ../../__puppeteer_evaluation_script__:1:43
      at ExecutionContext._evaluateInternal (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
          at runMicrotasks (<anonymous>)
      at ExecutionContext.evaluate (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:240:5)

[2022-04-02T00:24:45.951Z] Test passed after 1 failed attempts on try/enqueue-fonts-used-in-theme-json.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    Evaluation failed: TypeError: wp.data.dispatch(...).toggle is not a function

      at ../../__puppeteer_evaluation_script__:1:43
      at ExecutionContext._evaluateInternal (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
      at ExecutionContext.evaluate (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:240:5)

[2022-04-04T17:30:47.741Z] Test passed after 1 failed attempts on rnmobile/feature/drag-and-drop-use-on-block-drop.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    Evaluation failed: TypeError: wp.data.dispatch(...).toggle is not a function

      at ../../__puppeteer_evaluation_script__:1:43
      at ExecutionContext._evaluateInternal (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
          at runMicrotasks (<anonymous>)
      at ExecutionContext.evaluate (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:240:5)

[2022-04-06T07:19:10.615Z] Test passed after 1 failed attempts on try/preferences-configurable-persistence-layer.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    TimeoutError: waiting for XPath `//*[contains(@class, 'edit-post-template__actions')]//button[contains(text(), 'New')]` failed: timeout 30000ms exceeded

      75 | 	const newTemplateXPath =
      76 | 		"//*[contains(@class, 'edit-post-template__actions')]//button[contains(text(), 'New')]";
    > 77 | 	const newButton = await page.waitForXPath( newTemplateXPath );
         | 	                             ^
      78 | 	await newButton.click();
      79 |
      80 | 	// Fill the template title and submit.

      at new WaitTask (../../node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
      at DOMWorld.waitForXPath (../../node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22)
      at Frame.waitForXPath (../../node_modules/puppeteer-core/src/common/FrameManager.ts:1303:47)
      at Page.waitForXPath (../../node_modules/puppeteer-core/src/common/Page.ts:3269:29)
      at createNewTemplate (specs/editor/various/post-editor-template-mode.test.js:77:31)
          at runMicrotasks (<anonymous>)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:254:4)

[2022-04-06T16:15:38.414Z] Test passed after 1 failed attempts on rnmobile/feature/drag-and-drop-prevent-text-focus-on-long-press.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    Evaluation failed: TypeError: wp.data.dispatch(...).toggle is not a function

      at ../../__puppeteer_evaluation_script__:1:43
      at ExecutionContext._evaluateInternal (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
          at runMicrotasks (<anonymous>)
      at ExecutionContext.evaluate (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:240:5)

[2022-04-06T16:53:46.397Z] Test passed after 1 failed attempts on rnmobile/feature/drag-and-drop-update-transition.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    Evaluation failed: TypeError: wp.data.dispatch(...).toggle is not a function

      at ../../__puppeteer_evaluation_script__:1:43
      at ExecutionContext._evaluateInternal (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
          at runMicrotasks (<anonymous>)
      at ExecutionContext.evaluate (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:240:5)

[2022-04-07T15:35:11.392Z] Test passed after 1 failed attempts on rnmobile/feature/drag-and-drop-update-transition.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    Evaluation failed: TypeError: wp.data.dispatch(...).toggle is not a function

      at ../../__puppeteer_evaluation_script__:1:43
      at ExecutionContext._evaluateInternal (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
          at runMicrotasks (<anonymous>)
      at ExecutionContext.evaluate (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:240:5)

[2022-04-07T18:11:32.916Z] Test passed after 1 failed attempts on rnmobile/feature/drag-and-drop-update-transition.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    Evaluation failed: TypeError: wp.data.dispatch(...).toggle is not a function

      at ../../__puppeteer_evaluation_script__:1:43
      at ExecutionContext._evaluateInternal (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
          at runMicrotasks (<anonymous>)
      at ExecutionContext.evaluate (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:240:5)

[2022-04-08T12:20:36.171Z] Test passed after 1 failed attempts on update/post-content-placeholder.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    TimeoutError: waiting for XPath `//*[contains(@class, 'edit-post-template__actions')]//button[contains(text(), 'New')]` failed: timeout 30000ms exceeded

      75 | 	const newTemplateXPath =
      76 | 		"//*[contains(@class, 'edit-post-template__actions')]//button[contains(text(), 'New')]";
    > 77 | 	const newButton = await page.waitForXPath( newTemplateXPath );
         | 	                             ^
      78 | 	await newButton.click();
      79 |
      80 | 	// Fill the template title and submit.

      at new WaitTask (../../node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
      at DOMWorld.waitForXPath (../../node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22)
      at Frame.waitForXPath (../../node_modules/puppeteer-core/src/common/FrameManager.ts:1303:47)
      at Page.waitForXPath (../../node_modules/puppeteer-core/src/common/Page.ts:3269:29)
      at createNewTemplate (specs/editor/various/post-editor-template-mode.test.js:77:31)
          at runMicrotasks (<anonymous>)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:254:4)

[2022-04-08T14:11:45.396Z] Test passed after 1 failed attempts on rnmobile/feature/drag-and-drop-prevent-text-focus-on-long-press.
  ● Delete Post Template Confirmation Dialog › should retain template if deletion is canceled when the viewport is small

    Evaluation failed: TypeError: wp.data.dispatch(...).toggle is not a function

      at ../../__puppeteer_evaluation_script__:1:43
      at ExecutionContext._evaluateInternal (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:273:13)
          at runMicrotasks (<anonymous>)
      at ExecutionContext.evaluate (../../node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
      at Object.<anonymous> (specs/editor/various/post-editor-template-mode.test.js:240:5)

Metadata

Metadata

Assignees

Labels

[Type] Flaky TestAuto-generated flaky test report issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions