From 69b74bac2debbaa3fe78ede6d49b289dc7fa9da2 Mon Sep 17 00:00:00 2001 From: Alexander Bias Date: Mon, 19 Dec 2022 20:06:12 +0100 Subject: [PATCH] Slightly improve the Behat tests of the static pages --- ..._union_contentsettings_staticpages.feature | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/tests/behat/theme_boost_union_contentsettings_staticpages.feature b/tests/behat/theme_boost_union_contentsettings_staticpages.feature index c41588ef710..1d33a7c072c 100644 --- a/tests/behat/theme_boost_union_contentsettings_staticpages.feature +++ b/tests/behat/theme_boost_union_contentsettings_staticpages.feature @@ -15,17 +15,17 @@ Feature: Configuring the theme_boost_union plugin for the "Static pages" tab on Then ".theme_boost_union_footer_link" "css_element" should not exist And ".theme_boost_union_footnote_link" "css_element" should not exist And I am on page - Then I should see "The page is disabled for this site. There is nothing to see here." + Then I should see "The page is disabled for this site. There is nothing to see here." And ".theme_boost_union_footnote_link" "css_element" should not exist in the "#footnote" "css_element" And I click on ".btn-footer-popover" "css_element" in the "#page-footer" "css_element" And ".theme_boost_union_footer_link" "css_element" should not exist in the ".footer .popover-body" "css_element" Examples: - | page | pagetitle | pagenamealternative | - | imprint | Imprint | imprint | - | contact | Contact | contact | - | help | Help | help | - | maintenance | Maintenance | maintenance information | + | page | pagedisabled | + | imprint | imprint | + | contact | contact | + | help | help | + | maintenance | maintenance information | Scenario Outline: Setting: Enable static page - Enable and fill the static page with content Given the following config values are set as admin: @@ -62,11 +62,11 @@ Feature: Configuring the theme_boost_union plugin for the "Static pages" tab on And ".theme_boost_union_footer_link" "css_element" should not exist in the ".footer .popover-body" "css_element" Examples: - | page | pagetitle | - | imprint | Imprint | - | contact | Contact | - | help | Help | - | maintenance | Maintenance | + | page | + | imprint | + | contact | + | help | + | maintenance | @javascript Scenario Outline: Setting: Static page link position - Add the static page link to the footnote automatically (even if the footnote is empty otherwise) @@ -211,8 +211,8 @@ Feature: Configuring the theme_boost_union plugin for the "Static pages" tab on Then I should see "Custom" in the ".footer .popover-body .theme_boost_union_footer_link" "css_element" Examples: - | page | pagetitle | - | imprint | Imprint | - | contact | Contact | - | help | Help | - | maintenance | Maintenance | + | page | + | imprint | + | contact | + | help | + | maintenance |