Commit 3987f20
committed
Use fill() for Blueprint Editor E2E test
The character-by-character typing approach was fragile because it triggered
CodeMirror's auto-bracket insertion, requiring manual cleanup of extra brackets.
Using Playwright's fill() method on the contenteditable element is more reliable
because it fills the content directly without triggering auto-completion.
Also added a verification step to confirm the blueprint content was inserted
before clicking the Run Blueprint button.1 parent a796c56 commit 3987f20
File tree
1 file changed
+19
-18
lines changed- packages/playground/website/playwright/e2e
1 file changed
+19
-18
lines changedLines changed: 19 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
246 | 245 | | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | 246 | | |
252 | 247 | | |
253 | 248 | | |
| |||
278 | 273 | | |
279 | 274 | | |
280 | 275 | | |
281 | | - | |
| 276 | + | |
282 | 277 | | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
283 | 282 | | |
284 | 283 | | |
285 | 284 | | |
286 | 285 | | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
299 | 295 | | |
300 | 296 | | |
301 | 297 | | |
302 | 298 | | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
303 | 304 | | |
304 | 305 | | |
305 | 306 | | |
| |||
0 commit comments