From 920222c53a6bb2875dec23c1bce89a18d362c588 Mon Sep 17 00:00:00 2001 From: Vasile Chindris Date: Tue, 7 May 2024 15:57:09 +0300 Subject: [PATCH] test(SLB-328): update preview tests --- tests/e2e/specs/drupal/preview.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/e2e/specs/drupal/preview.spec.ts b/tests/e2e/specs/drupal/preview.spec.ts index 78865a978..4f4f0d880 100644 --- a/tests/e2e/specs/drupal/preview.spec.ts +++ b/tests/e2e/specs/drupal/preview.spec.ts @@ -10,6 +10,8 @@ test.describe('instant preview', () => { await page .getByLabel('Title', { exact: true }) .fill('Instant preview test'); + await page.locator('#edit-submit').click(); + await page.locator('li.tabs__tab a:text("Edit")').click(); await page .locator('#editor-edit-body-0-value h1 span') .first()