mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 03:14:03 +03:00
Another attempt to fix update-published-post test in CI
refs https://github.com/TryGhost/Team/issues/2371 - the 100ms timeout was enough for local tests to pass but was still failing on CI - bumped to 200ms and skipped the creation of a new paragraph to reduce what the editor is doing
This commit is contained in:
parent
8ddf1f0215
commit
7371addbc5
@ -166,9 +166,8 @@ 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.');
|
||||
await adminPage.waitForTimeout(200); //
|
||||
await adminPage.keyboard.type(' This is some updated text.');
|
||||
|
||||
// change some post settings
|
||||
await adminPage.locator('[data-test-psm-trigger]').click();
|
||||
|
Loading…
Reference in New Issue
Block a user