Automattic / Automattic/wp-calypso
E2E: develop test case for clicking on the Daily Writing Prompt from Home.
- Dominant language
- TypeScript
- Stars
- 12.6k
- Forks
- 2k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 538
Description
### Details
Escalation: p1697052711823979-slack-C02FMH4G8
Summary: When clicking on the Daily Writing Prompt card from `/home`, the editor attempts to load but then errors out.
Post text:
```
```
Error:
```
TypeError: Cannot read properties of undefined (reading 'lightbox')
at migrate (https://e2eflowtesting1654019117.wpcomstaging.com/wp-content/plugins/gutenberg/build/block-library/index.min.js?ver=b4f5f87dd3805a7970d1:37:18157)
at https://e2eflowtesting1654019117.wpcomstaging.com/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=57e94d9cfe18d4dff19a:7:38354
at Kn (https://e2eflowtesting1654019117.wpcomstaging.com/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=57e94d9cfe18d4dff19a:7:38499)
at https://e2eflowtesting1654019117.wpcomstaging.com/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=57e94d9cfe18d4dff19a:7:37659
at Array.map ()
at Kn (https://e2eflowtesting1654019117.wpcomstaging.com/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=57e94d9cfe18d4dff19a:7:37651)
at https://e2eflowtesting1654019117.wpcomstaging.com/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=57e94d9cfe18d4dff19a:7:39003
at Array.reduce ()
at Wn (https://e2eflowtesting1654019117.wpcomstaging.com/wp-content/plugins/gutenberg/build/blocks/index.min.js?ver=57e94d9cfe18d4dff19a:7:38979)
at https://e2eflowtesting1654019117.wpcomstaging.com/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=f9b23ad4759e4b95eba5:1:85395
```

https://github.com/Automattic/wp-calypso/assets/6549265/2440e1a4-03d4-4810-9a33-ab804be56462
### Checklist
_No response_
### Related
_No response_
Contributor guide
Research direction
Start at the /home entry point and reproduce clicking the Daily Writing Prompt card with the supplied post content. Add an end-to-end test covering that interaction and verify that the editor loads without the reported undefined lightbox error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100