Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-theme_boost_campus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-theme_boost_campus
Commits
0b81479a
Commit
0b81479a
authored
4 years ago
by
Alexander Bias
Browse files
Options
Downloads
Patches
Plain Diff
Fix Behat test for random login background image
parent
e0870dff
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES.md
+1
-0
1 addition, 0 deletions
CHANGES.md
tests/behat/theme_boost_campus_design_settings.feature
+8
-2
8 additions, 2 deletions
tests/behat/theme_boost_campus_design_settings.feature
with
9 additions
and
2 deletions
CHANGES.md
+
1
−
0
View file @
0b81479a
...
@@ -6,6 +6,7 @@ Changes
...
@@ -6,6 +6,7 @@ Changes
### Unreleased
### Unreleased
*
2021-04-11 - Fix Behat test for random login background image
*
2021-03-14 - Fix Behat test for unrestricted self enrolment hint
*
2021-03-14 - Fix Behat test for unrestricted self enrolment hint
### v3.10-r4
### v3.10-r4
...
...
This diff is collapsed.
Click to expand it.
tests/behat/theme_boost_campus_design_settings.feature
+
8
−
2
View file @
0b81479a
...
@@ -26,7 +26,10 @@ Feature: Configuring the theme_boost_campus plugin for the "Design Settings" tab
...
@@ -26,7 +26,10 @@ Feature: Configuring the theme_boost_campus plugin for the "Design Settings" tab
And
I press
"Save changes"
And
I press
"Save changes"
And
I log out
And
I log out
And
I click on
"Log in"
"link"
And
I click on
"Log in"
"link"
Then
the
"class"
attribute of
"body"
"css_element"
should contain
"loginbackgroundimage1"
And
I am on homepage
And
I click on
"Log in"
"link"
in the
".logininfo"
"css_element"
Then
the
"class"
attribute of
"body"
"css_element"
should contain
"path-login"
And
the
"class"
attribute of
"body"
"css_element"
should contain
"loginbackgroundimage1"
# Dependent on setting "Use Login page background images"
# Dependent on setting "Use Login page background images"
@javascript
@_file_upload
@javascript
@_file_upload
...
@@ -39,7 +42,10 @@ Feature: Configuring the theme_boost_campus plugin for the "Design Settings" tab
...
@@ -39,7 +42,10 @@ Feature: Configuring the theme_boost_campus plugin for the "Design Settings" tab
And
I press
"Save changes"
And
I press
"Save changes"
And
I log out
And
I log out
And
I click on
"Log in"
"link"
And
I click on
"Log in"
"link"
Then
I should see
"Copyright by SplitShire on pexels.com"
in the
"#loginbackgroundimagetext"
"css_element"
And
I am on homepage
And
I click on
"Log in"
"link"
in the
".logininfo"
"css_element"
Then
the
"class"
attribute of
"body"
"css_element"
should contain
"path-login"
And
I should see
"Copyright by SplitShire on pexels.com"
in the
"#loginbackgroundimagetext"
"css_element"
# This is not testable with Behat
# This is not testable with Behat
# Scenario: Enable "Login form"
# Scenario: Enable "Login form"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment