Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Flaky Test] consecutive edits to the same attribute should mark the post as dirty after a save #48542

Closed
github-actions bot opened this issue Feb 27, 2023 · 0 comments
Labels
[Type] Flaky Test Auto-generated flaky test report issue

Comments

@github-actions
Copy link

github-actions bot commented Feb 27, 2023

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

Test title

consecutive edits to the same attribute should mark the post as dirty after a save

Test path

specs/editor/various/change-detection.test.js

Errors

[2023-02-27T19:57:11.798Z] Test passed after 1 failed attempt on try/set-attrs-idle.
[2023-03-07T12:01:44.291Z] Test passed after 1 failed attempt on try/dedicated-block-controls-filter.
  ● Change detection › consecutive edits to the same attribute should mark the post as dirty after a save

    TimeoutError: waiting for selector `.editor-post-save-draft` failed: timeout 30000ms exceeded

      394 |
      395 | 		// Check that the post is dirty.
    > 396 | 		await page.waitForSelector( '.editor-post-save-draft' );
          | 		           ^
      397 |
      398 | 		// Save and wait till the post is clean.
      399 | 		await Promise.all( [

      at new WaitTask (../../node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
      at DOMWorld.waitForSelectorInPage (../../node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
      at Object.internalHandler.waitFor (../../node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
      at DOMWorld.waitForSelector (../../node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
      at Frame.waitForSelector (../../node_modules/puppeteer-core/src/common/FrameManager.ts:1273:47)
      at Page.waitForSelector (../../node_modules/puppeteer-core/src/common/Page.ts:3210:29)
      at Object.<anonymous> (specs/editor/various/change-detection.test.js:396:14)
          at runMicrotasks (<anonymous>)

  ● Change detection › consecutive edits to the same attribute should mark the post as dirty after a save

    expect(jest.fn()).not.toHaveErrored(expected)

    Expected mock function not to be called but it was called with:
    ["The hook name can only contain numbers, letters, dashes, periods and underscores."],["The hook name can only contain numbers, letters, dashes, periods and underscores."],["The hook name can only contain numbers, letters, dashes, periods and underscores."],["The hook name can only contain numbers, letters, dashes, periods and underscores."],["The hook name can only contain numbers, letters, dashes, periods and underscores."],["The hook name can only contain numbers, letters, dashes, periods and underscores."],["The hook name can only contain numbers, letters, dashes, periods and underscores."],["The hook name can only contain numbers, letters, dashes, periods and underscores."],["The hook name can only contain numbers, letters, dashes, periods and underscores."],["The hook name can only contain numbers, letters, dashes, periods and underscores."],["The hook name can only contain numbers, letters, dashes, periods and underscores."],["The hook name can only contain numbers, letters, dashes, periods and underscores."],["The hook name can only contain numbers, letters, dashes, periods and underscores."],["The hook name can only contain numbers, letters, dashes, periods and underscores."]

      at Object.assertExpectedCalls (../jest-console/build/@wordpress/jest-console/src/index.js:32:4)
          at runMicrotasks (<anonymous>)

@github-actions github-actions bot added the [Type] Flaky Test Auto-generated flaky test report issue label Feb 27, 2023
@github-actions github-actions bot mentioned this issue Feb 27, 2023
@Mamaduka Mamaduka closed this as completed Mar 2, 2023
@github-actions github-actions bot reopened this Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Flaky Test Auto-generated flaky test report issue
Projects
None yet
Development

No branches or pull requests

1 participant