Commit 476c8eb
committed
Fix CI failures: e2e name conflicts and PHP test issues
E2E tests: The menuitemradio name 'Edit' matched 3 elements (our
intent choice plus Visual/Code editor modes). Switch to regex
patterns (e.g., /^Suggest/, /^View\s+Read-only/) to uniquely match
intent switcher items by their label + info text. Also add waitFor
on the menu item in switchIntent for timing resilience.
PHP tests: Allow empty note content when _wp_suggestion meta is
present (matches the existing pattern for resolution notes). Fix
test_editor_can_update_note_on_own_post by setting comment_approved.
Fix test_suggestion_status_ignores_invalid_value to check the stored
value rather than expecting a 400 (WP meta enum validation silently
drops invalid values).
Refs #734111 parent 6698334 commit 476c8eb
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments