mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Fixed update-published-post Playwright test
refs https://github.com/TryGhost/Team/issues/2371 - added timeout between clicking the editor and starting to type otherwise some of the typing events could be missed causing a mismatch in actual vs expected output
This commit is contained in:
parent
3e62764a64
commit
8ddf1f0215
1 changed files with 1 additions and 0 deletions
|
@ -166,6 +166,7 @@ test.describe('Publishing', () => {
|
|||
|
||||
// add some extra text to the post
|
||||
await adminPage.locator('[data-kg="editor"]').click();
|
||||
await adminPage.waitForTimeout(100);
|
||||
await adminPage.keyboard.press('Enter');
|
||||
await adminPage.keyboard.type('This is some updated text.');
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue