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

Issue #3341574: Have Automated Functional Acceptance Testing working for Varbase 10.0.x

parent ff76662e
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
...@@ -16,7 +16,7 @@ So that I will need a site admin or super admin to add me to the website ...@@ -16,7 +16,7 @@ So that I will need a site admin or super admin to add me to the website
Scenario: Check that only admin can create an account Scenario: Check that only admin can create an account
When I go to "/user/register" When I go to "/user/register"
And I wait And I wait
Then I should see "Access denied" Then I should see "You are not authorized to access this page."
@javascript @local @development @staging @production @javascript @local @development @staging @production
Scenario: Verify that anonymous users cannot access admin pages Scenario: Verify that anonymous users cannot access admin pages
......
...@@ -24,7 +24,7 @@ So that I will be able to create a content then I will have the option to transl ...@@ -24,7 +24,7 @@ So that I will be able to create a content then I will have the option to transl
And I wait And I wait
Then I should see "Test English Basic page" Then I should see "Test English Basic page"
And I should see "Test English Basic page body" And I should see "Test English Basic page body"
When I click "Tasks" When I click "moderation-sidebar-toolbar-tab"
And I wait for ajax to finish And I wait for ajax to finish
Then I should see "Translate" Then I should see "Translate"
When I click "Translate" in the "a" element with the "class" attribute set to "moderation-sidebar-link button" When I click "Translate" in the "a" element with the "class" attribute set to "moderation-sidebar-link button"
......
...@@ -20,6 +20,6 @@ So that I can reset my password for the account ...@@ -20,6 +20,6 @@ So that I can reset my password for the account
When I fill in "not.existing.email@vardot.com" for "Email" When I fill in "not.existing.email@vardot.com" for "Email"
And I scroll to the bottom And I scroll to the bottom
And I wait 2s And I wait 2s
And I press the "Submit" button And I press the "Reset" button
And I wait And I wait
Then I should see "If the username or email address exists and is active, further instructions have been sent to your email address." Then I should see "If the username or email address exists and is active, further instructions have been sent to your email address."
...@@ -17,7 +17,7 @@ Feature: User Management - Have persistent login options and configurations ...@@ -17,7 +17,7 @@ Feature: User Management - Have persistent login options and configurations
Given I am not logged in Given I am not logged in
When I go to "/user/login" When I go to "/user/login"
And I wait And I wait
Then I should see "Login with" Then I should see "Log in"
And I should see "Remember me" And I should see "Remember me"
When I fill in "Normal user" for "Email or username" When I fill in "Normal user" for "Email or username"
And I fill in "dD.123123ddd" for "Password" And I fill in "dD.123123ddd" for "Password"
......
...@@ -54,7 +54,7 @@ So that the "Landing (Layout Builder) page" will show up having the listed secti ...@@ -54,7 +54,7 @@ So that the "Landing (Layout Builder) page" will show up having the listed secti
# When I click "Test Landing page (Layout Builder)" # When I click "Test Landing page (Layout Builder)"
# And I wait # And I wait
# Then I should see "Test Landing page (Layout Builder)" # Then I should see "Test Landing page (Layout Builder)"
# When I click "Tasks" # When I click "moderation-sidebar-toolbar-tab"
# And I wait for AJAX to finish # And I wait for AJAX to finish
# And I should see "Layout" # And I should see "Layout"
# When I click "Layout" # When I click "Layout"
...@@ -106,7 +106,7 @@ So that the "Landing (Layout Builder) page" will show up having the listed secti ...@@ -106,7 +106,7 @@ So that the "Landing (Layout Builder) page" will show up having the listed secti
# When I click "Test Landing page (Layout Builder)" # When I click "Test Landing page (Layout Builder)"
# And I wait # And I wait
# Then I should see "Test Landing page (Layout Builder)" # Then I should see "Test Landing page (Layout Builder)"
# When I click "Tasks" # When I click "moderation-sidebar-toolbar-tab"
# And I wait for AJAX to finish # And I wait for AJAX to finish
# And I should see "Layout" # And I should see "Layout"
# When I click "Layout" # When I click "Layout"
...@@ -178,7 +178,7 @@ So that the "Landing (Layout Builder) page" will show up having the listed secti ...@@ -178,7 +178,7 @@ So that the "Landing (Layout Builder) page" will show up having the listed secti
# When I click "Test Landing page (Layout Builder)" # When I click "Test Landing page (Layout Builder)"
# And I wait # And I wait
# Then I should see "Test Landing page (Layout Builder)" # Then I should see "Test Landing page (Layout Builder)"
# When I click "Tasks" # When I click "moderation-sidebar-toolbar-tab"
# And I wait for AJAX to finish # And I wait for AJAX to finish
# And I should see "Layout" # And I should see "Layout"
# When I click "Layout" # When I click "Layout"
...@@ -268,7 +268,7 @@ So that the "Landing (Layout Builder) page" will show up having the listed secti ...@@ -268,7 +268,7 @@ So that the "Landing (Layout Builder) page" will show up having the listed secti
# When I click "Test Landing page (Layout Builder)" # When I click "Test Landing page (Layout Builder)"
# And I wait # And I wait
# Then I should see "Test Landing page (Layout Builder)" # Then I should see "Test Landing page (Layout Builder)"
# When I click "Tasks" # When I click "moderation-sidebar-toolbar-tab"
# And I wait for AJAX to finish # And I wait for AJAX to finish
# Then I should see "Layout" # Then I should see "Layout"
# When I click "Layout" # When I click "Layout"
...@@ -377,7 +377,7 @@ So that the "Landing (Layout Builder) page" will show up having the listed secti ...@@ -377,7 +377,7 @@ So that the "Landing (Layout Builder) page" will show up having the listed secti
# When I click "Test Landing page (Layout Builder)" # When I click "Test Landing page (Layout Builder)"
# And I wait # And I wait
# Then I should see "Test Landing page (Layout Builder)" # Then I should see "Test Landing page (Layout Builder)"
# When I click "Tasks" # When I click "moderation-sidebar-toolbar-tab"
# And I wait for AJAX to finish # And I wait for AJAX to finish
# And I should see "Layout" # And I should see "Layout"
# When I click "Layout" # When I click "Layout"
......
...@@ -10,7 +10,7 @@ So that the homepage can be changed with permission in an easy way and be sure i ...@@ -10,7 +10,7 @@ So that the homepage can be changed with permission in an easy way and be sure i
And I wait And I wait
Then I should see "Welcome to Varbase" Then I should see "Welcome to Varbase"
And I should see "Media Hero Slider" And I should see "Media Hero Slider"
When I click "Tasks" When I click "moderation-sidebar-toolbar-tab"
And I wait for AJAX to finish And I wait for AJAX to finish
And I should see "Edit content" And I should see "Edit content"
And I should see "Delete" And I should see "Delete"
...@@ -28,7 +28,7 @@ So that the homepage can be changed with permission in an easy way and be sure i ...@@ -28,7 +28,7 @@ So that the homepage can be changed with permission in an easy way and be sure i
And I wait And I wait
Then I should see "Welcome to Varbase" Then I should see "Welcome to Varbase"
And I should see "Media Hero Slider" And I should see "Media Hero Slider"
And I should not see "Tasks" And I should not see "moderation-sidebar-toolbar-tab"
And I should not see "Edit content" And I should not see "Edit content"
And I should not see "Delete" And I should not see "Delete"
And I should not see "Manage display" And I should not see "Manage display"
...@@ -45,7 +45,7 @@ So that the homepage can be changed with permission in an easy way and be sure i ...@@ -45,7 +45,7 @@ So that the homepage can be changed with permission in an easy way and be sure i
And I wait And I wait
Then I should see "Welcome to Varbase" Then I should see "Welcome to Varbase"
And I should see "Media Hero Slider" And I should see "Media Hero Slider"
And I should not see "Tasks" And I should not see "moderation-sidebar-toolbar-tab"
And I should not see "Edit content" And I should not see "Edit content"
And I should not see "Delete" And I should not see "Delete"
And I should not see "Manage display" And I should not see "Manage display"
...@@ -62,7 +62,7 @@ So that the homepage can be changed with permission in an easy way and be sure i ...@@ -62,7 +62,7 @@ So that the homepage can be changed with permission in an easy way and be sure i
And I wait And I wait
Then I should see "Welcome to Varbase" Then I should see "Welcome to Varbase"
And I should see "Media Hero Slider" And I should see "Media Hero Slider"
When I click "Tasks" When I click "moderation-sidebar-toolbar-tab"
And I wait for AJAX to finish And I wait for AJAX to finish
And I should see "Edit content" And I should see "Edit content"
And I should not see "Delete" And I should not see "Delete"
...@@ -80,7 +80,7 @@ So that the homepage can be changed with permission in an easy way and be sure i ...@@ -80,7 +80,7 @@ So that the homepage can be changed with permission in an easy way and be sure i
And I wait And I wait
Then I should see "Welcome to Varbase" Then I should see "Welcome to Varbase"
And I should see "Media Hero Slider" And I should see "Media Hero Slider"
When I click "Tasks" When I click "moderation-sidebar-toolbar-tab"
And I wait for AJAX to finish And I wait for AJAX to finish
And I should see "Edit content" And I should see "Edit content"
And I should not see "Delete" And I should not see "Delete"
...@@ -98,7 +98,7 @@ So that the homepage can be changed with permission in an easy way and be sure i ...@@ -98,7 +98,7 @@ So that the homepage can be changed with permission in an easy way and be sure i
And I wait And I wait
Then I should see "Welcome to Varbase" Then I should see "Welcome to Varbase"
And I should see "Media Hero Slider" And I should see "Media Hero Slider"
When I click "Tasks" When I click "moderation-sidebar-toolbar-tab"
And I wait for AJAX to finish And I wait for AJAX to finish
And I should see "Edit content" And I should see "Edit content"
And I should not see "Delete" And I should not see "Delete"
...@@ -116,7 +116,7 @@ So that the homepage can be changed with permission in an easy way and be sure i ...@@ -116,7 +116,7 @@ So that the homepage can be changed with permission in an easy way and be sure i
And I wait And I wait
Then I should see "Welcome to Varbase" Then I should see "Welcome to Varbase"
And I should see "Media Hero Slider" And I should see "Media Hero Slider"
When I click "Tasks" When I click "moderation-sidebar-toolbar-tab"
And I wait for AJAX to finish And I wait for AJAX to finish
And I should see "Edit content" And I should see "Edit content"
And I should see "Delete" And I should see "Delete"
......
...@@ -14,7 +14,7 @@ Scenario: Check if queuable content have the Entityqueue tab at the full content ...@@ -14,7 +14,7 @@ Scenario: Check if queuable content have the Entityqueue tab at the full content
And I press "Save" And I press "Save"
And I wait And I wait
Then I should see "Test Content Test tab content number 1 has been created." Then I should see "Test Content Test tab content number 1 has been created."
When I click "Tasks" When I click "moderation-sidebar-toolbar-tab"
And I wait for AJAX to finish And I wait for AJAX to finish
And I should see "Entityqueue" And I should see "Entityqueue"
When I click "Entityqueue" When I click "Entityqueue"
......
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