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

Issue #3060823: Add the [Feature: Preview the site in a number of responsive...

Issue #3060823: Add the [Feature: Preview the site in a number of responsive devices] Automated Functional Acceptance Testing
parent a06aaec4
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ Feature: Create default testing users.
Background:
Given I am a logged in user with the "webmaster" user
@init @tools @local @development @staging
@javascript @init @tools @local @development @staging
Scenario: Create the test_authenticated user.
When I go to "/admin/people/create"
And I wait
......@@ -19,7 +19,11 @@ Feature: Create default testing users.
And I fill in "test_authenticated" for "Username"
And I press "Create new account"
And I wait
And I go to "/admin/people"
Then I should see "Created a new user account"
@javascript @init @tools @local @development @staging
Scenario: Set a passeord for the test_authenticated user.
When I go to "/admin/people"
And I wait
And I fill in "test_authenticated" for "Name or email contains"
And I press "Filter"
......@@ -33,121 +37,141 @@ Feature: Create default testing users.
And I wait
Then I should see "The changes have been saved."
@init @tools @local @development @staging
@javascript @init @tools @local @development @staging
Scenario: Create the test_editor user.
When I go to "/admin/people/create"
And I wait
Then I should see "Add user"
When I check the box "Editor"
When I check "Editor"
And I fill in "editor.test@vardot.com" for "Email address"
And I fill in "test_editor" for "Username"
And I press "Create new account"
And I wait
And I go to "/admin/people"
And I wait
And I fill in "test_editor" for "Name or email contains"
And I press "Filter"
And I wait
Then I should see "test_editor"
When I click "Edit" in the "test_editor" row
Then I should see "test_editor"
When I fill in "dD.123123ddd" for "Password"
And I fill in "dD.123123ddd" for "Confirm password"
And I press "Save"
And I wait
Then I should see "The changes have been saved."
Then I should see "Created a new user account"
@init @tools @local @development @staging
@javascript @init @tools @local @development @staging
Scenario: Set a passeord for the test_editor user.
When I go to "/admin/people"
And I wait
And I fill in "test_editor" for "Name or email contains"
And I press "Filter"
And I wait
Then I should see "test_editor"
When I click "Edit" in the "test_editor" row
Then I should see "test_editor"
When I fill in "dD.123123ddd" for "Password"
And I fill in "dD.123123ddd" for "Confirm password"
And I press "Save"
And I wait
Then I should see "The changes have been saved."
@javascript @init @tools @local @development @staging
Scenario: Create the test_content_admin user.
When I go to "/admin/people/create"
And I wait
Then I should see "Add user"
When I check the box "Content Admin"
When I check "Content Admin"
And I fill in "content.admin.test@vardot.com" for "Email address"
And I fill in "test_content_admin" for "Username"
And I press "Create new account"
And I wait
And I go to "/admin/people"
And I wait
And I fill in "test_content_admin" for "Name or email contains"
And I press "Filter"
And I wait
Then I should see "test_content_admin"
When I click "Edit" in the "test_content_admin" row
Then I should see "test_content_admin"
When I fill in "dD.123123ddd" for "Password"
And I fill in "dD.123123ddd" for "Confirm password"
And I press "Save"
And I wait
Then I should see "The changes have been saved."
Then I should see "Created a new user account"
@init @tools @local @development @staging
@javascript @init @tools @local @development @staging
Scenario: Set a passeord for the test_content_admin user.
When I go to "/admin/people"
And I wait
And I fill in "test_content_admin" for "Name or email contains"
And I press "Filter"
And I wait
Then I should see "test_content_admin"
When I click "Edit" in the "test_content_admin" row
Then I should see "test_content_admin"
When I fill in "dD.123123ddd" for "Password"
And I fill in "dD.123123ddd" for "Confirm password"
And I press "Save"
And I wait
Then I should see "The changes have been saved."
@javascript @init @tools @local @development @staging
Scenario: Create the test_seo_admin user.
When I go to "/admin/people/create"
And I wait
When I check the box "SEO Admin"
When I check "SEO Admin"
And I fill in "seo.admin.test@vardot.com" for "Email address"
And I fill in "test_seo_admin" for "Username"
And I press "Create new account"
And I wait
And I go to "/admin/people"
And I wait
And I fill in "test_seo_admin" for "Name or email contains"
And I press "Filter"
And I wait
Then I should see "test_seo_admin"
When I click "Edit" in the "test_seo_admin" row
Then I should see "test_seo_admin"
When I fill in "dD.123123ddd" for "Password"
And I fill in "dD.123123ddd" for "Confirm password"
And I press "Save"
And I wait
Then I should see "The changes have been saved."
Then I should see "Created a new user account"
@javascript @init @tools @local @development @staging
Scenario: Set a passeord for the test_seo_admin user.
When I go to "/admin/people"
And I wait
And I fill in "test_seo_admin" for "Name or email contains"
And I press "Filter"
And I wait
Then I should see "test_seo_admin"
When I click "Edit" in the "test_seo_admin" row
Then I should see "test_seo_admin"
When I fill in "dD.123123ddd" for "Password"
And I fill in "dD.123123ddd" for "Confirm password"
And I press "Save"
And I wait
Then I should see "The changes have been saved."
@init @tools @local @development @staging
@javascript @init @tools @local @development @staging
Scenario: Create the test_site_admin user.
When I go to "/admin/people/create"
And I wait
Then I should see "Add user"
When I check the box "Site Admin"
When I check "Site Admin"
And I fill in "site.admin.test@vardot.com" for "Email address"
And I fill in "test_site_admin" for "Username"
And I press "Create new account"
And I wait
And I go to "/admin/people"
And I wait
And I fill in "test_site_admin" for "Name or email contains"
And I press "Filter"
And I wait
Then I should see "test_site_admin"
When I click "Edit" in the "test_site_admin" row
Then I should see "test_site_admin"
When I fill in "dD.123123ddd" for "Password"
And I fill in "dD.123123ddd" for "Confirm password"
And I press "Save"
And I wait
Then I should see "The changes have been saved."
Then I should see "Created a new user account"
@javascript @init @tools @local @development @staging
Scenario: Set a passeord for the test_site_admin user.
When I go to "/admin/people"
And I wait
And I fill in "test_site_admin" for "Name or email contains"
And I press "Filter"
And I wait
Then I should see "test_site_admin"
When I click "Edit" in the "test_site_admin" row
Then I should see "test_site_admin"
When I fill in "dD.123123ddd" for "Password"
And I fill in "dD.123123ddd" for "Confirm password"
And I press "Save"
And I wait
Then I should see "The changes have been saved."
@init @tools @local @development @staging
@javascript @init @tools @local @development @staging
Scenario: Create the test_super_admin user.
When I go to "/admin/people/create"
And I wait
Then I should see "Add user"
When I check the box "Super Admin"
When I check "Super Admin"
And I fill in "super.admin.test@vardot.com" for "Email address"
And I fill in "test_super_admin" for "Username"
And I press "Create new account"
And I wait
And I go to "/admin/people"
And I wait
And I fill in "test_super_admin" for "Name or email contains"
And I press "Filter"
And I wait
Then I should see "test_super_admin"
When I click "Edit" in the "test_super_admin" row
Then I should see "test_super_admin"
When I fill in "dD.123123ddd" for "Password"
And I fill in "dD.123123ddd" for "Confirm password"
And I press "Save"
And I wait
Then I should see "The changes have been saved."
Then I should see "Created a new user account"
@javascript @init @tools @local @development @staging
Scenario: Set a passeord for the test_super_admin user.
When I go to "/admin/people"
And I wait
And I fill in "test_super_admin" for "Name or email contains"
And I press "Filter"
And I wait
Then I should see "test_super_admin"
When I click "Edit" in the "test_super_admin" row
Then I should see "test_super_admin"
When I fill in "dD.123123ddd" for "Password"
And I fill in "dD.123123ddd" for "Confirm password"
And I press "Save"
And I wait
Then I should see "The changes have been saved."
Feature: Preview the site in a number of responsive devices.
As a site admin user
I want to be able to preview the look and feel of the site in a number of devices
So that I can make sure that the site looks good in small devices too.
Background:
Given I am a logged in user with the "webmaster" user
@javascript @check @local @development @staging @production
Scenario: Check the site in a number of responsive preview devices
When I go to the homepage
And I wait
Then I should see "Welcome to Varbase"
When I press "Preview page layout"
Then I should see "iPhone XS"
And I should see "iPhone XS Max"
And I should see "iPhone 7"
And I should see "iPhone 7+"
And I should see "Galaxy S7"
And I should see "iPad Air 2"
And I should see "Galaxy Tab 2 10"
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