Closed worldomonation closed 3 years ago
wp-editor__post-basic-flow-spec.ts
Save draft
Playwright
Logs:
frame.click: Timeout 30000ms exceeded. =========================== logs =========================== waiting for selector ".editor-post-save-draft" ============================================================ at GutenbergEditorPage.saveDraft (/home/teamcity-1/buildAgent/work/c4a9d5b38c1dacde/packages/calypso-e2e/src/lib/pages/gutenberg-editor-page.ts:319:15) at Object.<anonymous> (/home/teamcity-1/buildAgent/work/c4a9d5b38c1dacde/test/e2e/specs/specs-playwright/wp-editor__post-basic-flow-spec.ts:114:4)
Run: https://teamcity.a8c.com/buildConfiguration/calypso_Calypso_E2E_Playwright_mobile/6877641
Trace: https://teamcity.a8c.com/repository/download/calypso_Calypso_E2E_Playwright_mobile/6877641:id/trace/post-metadata-is-found-in-published-post-2021-10-22T17-25-18.zip
This is not so much a flakey e2e as a mistake on my part.
I had forgotten that hitting Preview would save the post.
Preview
Fixed by the attached PR.
Spec file
wp-editor__post-basic-flow-spec.ts
Suite or step
Save draft
Framework
Playwright
Logs
Logs:
Run: https://teamcity.a8c.com/buildConfiguration/calypso_Calypso_E2E_Playwright_mobile/6877641
Trace: https://teamcity.a8c.com/repository/download/calypso_Calypso_E2E_Playwright_mobile/6877641:id/trace/post-metadata-is-found-in-published-post-2021-10-22T17-25-18.zip