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

Issue #3317088: Change Varbase Automated Functional Testing to follow with...

Issue #3317088: Change Varbase Automated Functional Testing to follow with changes on the Password Policy, and EntityQueue modules
parent 152d8b82
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
<!--Exclude folders used by common frontend tools. These folders match the file_scan_ignore_directories setting in default.settings.php-->
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/bower_components/*</exclude-pattern>
<!-- <exclude-pattern>*/tests/features/bootstrap/*</exclude-pattern> -->
<exclude-pattern>varbase.info.yml</exclude-pattern>
<!--Exclude minimized css.-->
<exclude-pattern>*/*.min.css</exclude-pattern>
......
......@@ -15,14 +15,14 @@ const paths = {
};
// Compile sass into CSS & auto-inject into browsers.
function compile () {
function compile() {
var sassOptions = {
outputStyle: 'expanded',
indented: true,
indented: TRUE,
indentType: 'space',
indentWidth: 2,
linefeed: 'lf',
sourceMap: false
sourceMap: FALSE
};
return gulp.src([paths.scss.src])
......@@ -34,7 +34,7 @@ function compile () {
}
// Watching scss files.
function watch () {
function watch() {
gulp.watch([paths.scss.watch], compile);
}
......
......@@ -2,4 +2,4 @@
# --------------------------------------
# Oembed media
Disallow: /media/oembed
Disallow: /*/media/oembed
\ No newline at end of file
Disallow: /*/media/oembed
......@@ -84,9 +84,10 @@ So that I can use them after the install or update.
And I wait
Then I should see "Appearance"
And I should see "Vartheme"
And I should see "Base theme for Varbase standard websites. Based on Bootstrap 5 framework using SASS, and extending Radix theme."
And I should see "(Bootstrap 4 - SASS)"
And I should see "Claro"
And I should see "Radix"
And I should see "Bootstrap"
And I should see "Bootstrap Barrio"
And I should see "Vartheme Claro"
@javascript @check @local @development @staging @production
......@@ -119,3 +120,39 @@ So that I can use them after the install or update.
And I should see "*@vardot.com" value in the "edit-allowed" input element
And the "edit-description" checkbox is checked
And the "edit-message" checkbox is checked
@javascript @check @local @development @staging
Scenario: Check Varbase password suggestions settings
When I go to "admin/config/system/varbase/varbase-security/password-suggestions-settings"
And I wait
Then I should see "Password Suggestions settings"
And I should see "Passwords match:" value in the "edit-confirmtitle" input element
And I should see "yes" value in the "edit-confirmsuccess" input element
And I should see "no" value in the "edit-confirmfailure" input element
And I should see "Password strength:" value in the "edit-strengthtitle" input element
And I should see "Recommendations to make your password stronger:" value in the "edit-hasweaknesses" input element
And I should see "Make it at least 8 characters" value in the "edit-tooshort" input element
And I should see "Add lowercase letters" value in the "edit-addlowercase" input element
And I should see "Add uppercase letters" value in the "edit-adduppercase" input element
And I should see "Add numbers" value in the "edit-addnumbers" input element
And I should see "Add punctuation" value in the "edit-addpunctuation" input element
And I should see "Make it different from your username" value in the "edit-sameasusername" input element
And I should see "Weak" value in the "edit-weak" input element
And I should see "Fair" value in the "edit-fair" input element
And I should see "Good" value in the "edit-good" input element
And I should see "Strong" value in the "edit-strong" input element
@javascript @check @local @development @staging
Scenario: Check password policy constraints
When I go to "admin/config/security/password-policy/default_policy"
And I wait
And I scroll to the bottom
Then I should see "Policy Constraints"
And I should see "Number of passwords that will be checked in the user password update history: 0"
And I should see "Password must not contain the user's username."
And I should see "Password character length of at least 8 characters"
And I should see "Minimum password character types: 4"
And I should see "Password must contain at least 1 special character"
And I should see "Password must contain at least 1 numeric character"
And I should see "Password must contain at least 1 uppercase character"
And I should see "Password must contain at least 1 lowercase character"
......@@ -21,7 +21,7 @@ Scenario: Add Entity Queue Test Queue to be used with Test Content type
Then I should see "Add entity queue"
When I click "Add entity queue"
And I wait
Then I should see "Configure entity queue"
Then I should see "Add entity queue"
When I fill in "Test Queue" for "Name"
And I wait for 5 seconds
And I press "Save"
......
......@@ -3,4 +3,3 @@
# Initialization of tests
Moved to tests/tools
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