Skip to content
Snippets Groups Projects
Commit 8fa190a0 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3293400: Fix the Varbase welcome message. After having a look at the screenshot when failed

parent 82151a2e
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ The welcome message is made possible by having Varbase Tour module
@javascript @local @development @staging @production
Scenario: Check if welcome message is enabled
Given I am a logged in user with the "webmaster" user
And I go to "admin/config/varbase/settings"
And I go to "/admin/config/varbase/settings"
Then I should see "Varbase general settings"
And I should see "Allow site to show welcome message"
And I check the box "Allow site to show welcome message"
......@@ -15,9 +15,11 @@ The welcome message is made possible by having Varbase Tour module
@javascript @local @development @staging @production
Scenario: Check if welcome message and tour are displayed
Given I am a logged in user with the "webmaster" user
And I go to "?welcome"
And I go to "/?welcome"
And I wait 2 seconds
And I scroll to the bottom
Then I should see "Welcome to "
And I should see " Get started "
And I should see "Get started"
When I click "Get started"
And I wait 2 seconds
Then I should see "Tour Switch"
......@@ -33,7 +35,7 @@ The welcome message is made possible by having Varbase Tour module
@javascript @local @development @staging @production
Scenario: Check if welcome message is disabled after closing it
Given I am a logged in user with the "webmaster" user
And I go to "admin/config/varbase/settings"
And I go to "/admin/config/varbase/settings"
Then I should see "Varbase general settings"
And I should see "Allow site to show welcome message"
And the "Allow site to show welcome message" checkbox is unchecked
......@@ -34,8 +34,7 @@ So that the "Landing (Layout Builder) page" will show up having the listed secti
And I should not see "Bootstrap 10 Cols"
And I should not see "Bootstrap 11 Cols"
And I should not see "Bootstrap 12 Cols"
And I scroll to the top of the page
And I wait 1s
When I scroll to the top of the page
Then I should see "Save layout"
When I press the "Save layout" button
And I wait
......
......@@ -63,6 +63,7 @@ As a site admin, I will create a new landing page, add a section with different
Then I should see "Test Rich text in 2 cols section, col 2"
When I scroll to the top of the page
And I wait 2s
Then I should see "Save layout"
And I press the "Save layout" button
And I wait
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment