Automattic / Automattic/wp-calypso

E2E: develop test case for clicking on the Daily Writing Prompt from Home.

Open
#83,151 1 comment 0 reactions 0 assignees View on GitHub
Task
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:
```

Daily writing prompt
What makes a good neighbor?

```

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
```

![image](https://github.com/Automattic/wp-calypso/assets/6549265/3c70955c-1209-44ca-b16a-c36fed99bd7e)

https://github.com/Automattic/wp-calypso/assets/6549265/2440e1a4-03d4-4810-9a33-ab804be56462

### Checklist

_No response_

### Related

_No response_

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.