Skip to content
Snippets Groups Projects
Commit e6d6cf55 authored by Alexander Bias's avatar Alexander Bias
Browse files

Fix Behat test for random login background image

parent 320c82ea
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ Changes
### Unreleased
* 2021-04-11 - Fix Behat test for random login background image
* 2021-03-14 - Fix Behat test for unrestricted self enrolment hint
### v3.9-r7
......
......@@ -26,7 +26,10 @@ Feature: Configuring the theme_boost_campus plugin for the "Design Settings" tab
And I press "Save changes"
And I log out
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"
@javascript @_file_upload
......@@ -39,7 +42,10 @@ Feature: Configuring the theme_boost_campus plugin for the "Design Settings" tab
And I press "Save changes"
And I log out
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
# Scenario: Enable "Login form"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment