From 05e7cbeea748e80095bf88823d6e1c198a30f3bb Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Mon, 29 Jul 2024 11:15:36 +1200 Subject: [PATCH] MNT Test empty alt tags are included --- 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