From 01e51c425feb91c2af1360348108df00b8bb205e Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Mon, 29 Jul 2024 16:52:29 +1200 Subject: [PATCH] MNT Test empty alt tags are included (#2978) --- tests/behat/features/insert-a-link.feature | 4 ++-- tests/behat/features/insert-anchor-link.feature | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/behat/features/insert-a-link.feature b/tests/behat/features/insert-a-link.feature index 5af1ba2dac..6b874af6f4 100644 --- a/tests/behat/features/insert-a-link.feature +++ b/tests/behat/features/insert-a-link.feature @@ -39,7 +39,7 @@ So that I can link to a external website or a page on my site And I should not see "Link text" When I select "About Us" in the "#Form_editorInternalLink_PageID_Holder" tree dropdown And I press the "Insert link" button - Then the "Content" HTML field should contain "" + Then the "Content" HTML field should contain "" # Required to avoid "unsaved changed" browser dialog And I press the "Save" button @@ -80,7 +80,7 @@ So that I can link to a external website or a page on my site And I should not see "Link text" When I fill in "http://silverstripe.org" for "URL" And I press the "Insert link" button - Then the "Content" HTML field should contain "" + Then the "Content" HTML field should contain "" # Required to avoid "unsaved changed" browser dialog And I press the "Save" button diff --git a/tests/behat/features/insert-anchor-link.feature b/tests/behat/features/insert-anchor-link.feature index 95e53c0092..f3b0be5387 100644 --- a/tests/behat/features/insert-anchor-link.feature +++ b/tests/behat/features/insert-anchor-link.feature @@ -40,7 +40,7 @@ So that I can link to a external website or a page on my site When I select "Details" in the "#Form_editorAnchorLink_PageID_Holder" tree dropdown And I select "youranchor" in the "#Form_editorAnchorLink_Anchor_Holder" anchor dropdown And I press the "Insert link" button - Then the "Content" HTML field should contain "" + Then the "Content" HTML field should contain "" # Required to avoid "unsaved changed" browser dialog And I press the "Save" button