From 080fd26767782e6268e8eb0c5051b128165b3a62 Mon Sep 17 00:00:00 2001 From: Rajab Natshah <rajabn@gmail.com> Date: Sun, 18 Jun 2017 17:58:44 +0300 Subject: [PATCH] Issue #2886156 by RajabNatshah, yasmeensalah, Mohammed J. Razem: Update [Varbase Landing] feature to use [Paragraphs] instead of [Panelizer] --- ...age.content_settings.node.landing_page.yml | 15 ++++++++++ ...ages-with-pre-defined-layouts_v4-0.feature | 30 ------------------- 2 files changed, 15 insertions(+), 30 deletions(-) create mode 100644 modules/varbase_features/varbase_landing/config/install/language.content_settings.node.landing_page.yml diff --git a/modules/varbase_features/varbase_landing/config/install/language.content_settings.node.landing_page.yml b/modules/varbase_features/varbase_landing/config/install/language.content_settings.node.landing_page.yml new file mode 100644 index 00000000..61997220 --- /dev/null +++ b/modules/varbase_features/varbase_landing/config/install/language.content_settings.node.landing_page.yml @@ -0,0 +1,15 @@ +langcode: en +status: true +dependencies: + config: + - node.type.landing_page + module: + - content_translation +third_party_settings: + content_translation: + enabled: true +id: node.landing_page +target_entity_type_id: node +target_bundle: landing_page +default_langcode: und +language_alterable: true diff --git a/tests/features/varbase/step2-apply-tests/12-content-structure-features_basic-pages_pages-with-pre-defined-layouts_v4-0.feature b/tests/features/varbase/step2-apply-tests/12-content-structure-features_basic-pages_pages-with-pre-defined-layouts_v4-0.feature index f314164e..8c3e5488 100644 --- a/tests/features/varbase/step2-apply-tests/12-content-structure-features_basic-pages_pages-with-pre-defined-layouts_v4-0.feature +++ b/tests/features/varbase/step2-apply-tests/12-content-structure-features_basic-pages_pages-with-pre-defined-layouts_v4-0.feature @@ -48,33 +48,3 @@ So that the "Landing page" will show up in the structured menu under its parent And I wait Then I should not see "Access denied" And I should not see "You are not authorized to access this page." - - @javascript @local @development @staging @production - Scenario: Check that Site Admin users can not create a Landing page. - Given I am a logged in user with the "test_site_admin" user - When I go to "/node/add/landing_page" - And I wait - Then I should see "Create Landing page" - When I fill in "Test landing page by test site admin" for "Title" - Then I press "Save" - And I wait - When I go to "/test-landing-page-test-site-admin" - And I wait - Then I should see "Test landing page by test site admin" - And I should see "Manage Content" - And I should see "Change layout" - - @javascript @local @development @staging @production - Scenario: Check that Super Admin users can not create a Landing page. - Given I am a logged in user with the "test_super_admin" user - When I go to "/node/add/landing_page" - And I wait - Then I should see "Create Landing page" - When I fill in "Test landing page by test super admin" for "Title" - Then I press "Save" - And I wait - When I go to "/test-landing-page-test-super-admin" - And I wait - Then I should see "Test landing page by test super admin" - And I should see "Manage Content" - And I should see "Change layout" -- GitLab