0
Fork 0
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:
Kevin Ansfield 2022-12-08 09:38:52 +00:00
parent 3e62764a64
commit 8ddf1f0215

View file

@ -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.');