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 E2E: Append additional content #73619

Closed
worldomonation opened this issue Feb 21, 2023 · 3 comments
Closed

Flaky E2E: Append additional content #73619

worldomonation opened this issue Feb 21, 2023 · 3 comments
Assignees
Labels
[Type] Flaky E2E Denotes an issue created for fixing flaky e2e tests

Comments

@worldomonation
Copy link
Contributor

Spec file

specs/editor/editor__post-advanced-flow.ts

TeamCity ID

9521778

Logs

locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('iframe.is-loaded').locator('body.block-editor-page').locator('.block-editor-inserter__main-area .block-editor-block-types-list__list-item span:text("Paragraph")').first()
  locator resolved to <span data-wp-c16t="true" data-wp-component="Truncate"…>Paragraph</span>
attempting click action
  waiting for element to be visible, enabled and stable
  element is visible, enabled and stable
  scrolling into view if needed
  done scrolling
============================================================
at EditorSidebarBlockInserterComponent.selectBlockInserterResult (/home/teamcity-2/buildAgent/work/c4a9d5b38c1dacde/packages/calypso-e2e/src/lib/components/editor-sidebar-block-inserter-component.ts:81:17)
    at EditorPage.addBlockFromInserter (/home/teamcity-2/buildAgent/work/c4a9d5b38c1dacde/packages/calypso-e2e/src/lib/pages/editor-page.ts:383:3)
    at EditorPage.addBlockFromSidebar (/home/teamcity-2/buildAgent/work/c4a9d5b38c1dacde/packages/calypso-e2e/src/lib/pages/editor-page.ts:311:3)
    at Object.<anonymous> (/home/teamcity-2/buildAgent/work/c4a9d5b38c1dacde/test/e2e/specs/editor/editor__post-advanced-flow.ts:98:24)

image

@worldomonation worldomonation added the [Type] Flaky E2E Denotes an issue created for fixing flaky e2e tests label Feb 21, 2023
@worldomonation
Copy link
Contributor Author

Ah, looks like similar issue to #72298. The root cause of this is that searching for a common block name such as Paragraph is really taxing since Gutenberg 15.1.x introduced some weird behavior for the search results.

See WordPress/gutenberg#48085 for more information.

@worldomonation worldomonation added the [Type] Monitoring Issues or tasks that are being actively monitored. label Feb 21, 2023
@worldomonation worldomonation self-assigned this Feb 21, 2023
@worldomonation worldomonation moved this from Backlog to In Progress in KitKat Project Board Feb 21, 2023
@worldomonation
Copy link
Contributor Author

Frequency should reduce as older branches without the fix (#73561) get merged or abandoned.

@worldomonation
Copy link
Contributor Author

Anecdotally, I haven't seen this pop up recently. Closing as resolved.

@worldomonation worldomonation removed the [Type] Monitoring Issues or tasks that are being actively monitored. label Mar 15, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done🎊 in KitKat Project Board Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Flaky E2E Denotes an issue created for fixing flaky e2e tests
Projects
Archived in project
Development

No branches or pull requests

1 participant