You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/behat/theme_boost_union_contentsettings_advertisementtiles.feature
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -188,7 +188,7 @@ Feature: Configuring the theme_boost_union plugin for the "Advertisement tiles"
188
188
And Behat debugging is disabled
189
189
And I navigate to "Appearance > Boost Union > Content" in site administration
190
190
And I click on "Advertisement tiles""link" in the "#adminsettings .nav-tabs""css_element"
191
-
And I upload "theme/boost_union/tests/fixtures/login_bg1.jpg" file to "Advertisement tile 1 background image" filemanager
191
+
And I upload "theme/boost_union/tests/fixtures/login_bg1.png" file to "Advertisement tile 1 background image" filemanager
192
192
And I press "Save changes"
193
193
And I am on site homepage
194
194
And Behat debugging is enabled
@@ -197,7 +197,7 @@ Feature: Configuring the theme_boost_union plugin for the "Advertisement tiles"
197
197
And I follow "Log in"
198
198
And I log in as "teacher1"
199
199
And I am on site homepage
200
-
Then "//div[@id='themeboostunionadvtile1']/*[1][contains(@style, 'pluginfile.php/1/theme_boost_union/tilebackgroundimage1/0/login_bg1.jpg')]""xpath_element" should exist
200
+
Then "//div[@id='themeboostunionadvtile1']/*[1][contains(@style, 'pluginfile.php/1/theme_boost_union/tilebackgroundimage1/0/login_bg1.png')]""xpath_element" should exist
201
201
And "//div[@id='themeboostunionadvtile2']/*[1][contains(@style, 'pluginfile.php')]""xpath_element" should not exist
202
202
203
203
Scenario Outline: Setting: Advertisement tiles - Define the tile (min-)height.
@@ -227,7 +227,7 @@ Feature: Configuring the theme_boost_union plugin for the "Advertisement tiles"
227
227
And Behat debugging is disabled
228
228
And I navigate to "Appearance > Boost Union > Content" in site administration
229
229
And I click on "Advertisement tiles""link" in the "#adminsettings .nav-tabs""css_element"
230
-
And I upload "theme/boost_union/tests/fixtures/login_bg1.jpg" file to "Advertisement tile 1 background image" filemanager
230
+
And I upload "theme/boost_union/tests/fixtures/login_bg1.png" file to "Advertisement tile 1 background image" filemanager
Copy file name to clipboardExpand all lines: tests/behat/theme_boost_union_contentsettings_slider.feature
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Feature: Configuring the theme_boost_union plugin for the "Slider" tab on the "C
18
18
And Behat debugging is disabled
19
19
And I navigate to "Appearance > Boost Union > Content" in site administration
20
20
And I click on "Slider""link" in the "#adminsettings .nav-tabs""css_element"
21
-
And I upload "theme/boost_union/tests/fixtures/login_bg1.jpg" file to "Slide 1 background image" filemanager
21
+
And I upload "theme/boost_union/tests/fixtures/login_bg1.png" file to "Slide 1 background image" filemanager
22
22
And I press "Save changes"
23
23
And I am on site homepage
24
24
And Behat debugging is enabled
@@ -194,7 +194,7 @@ Feature: Configuring the theme_boost_union plugin for the "Slider" tab on the "C
194
194
When I log in as "teacher1"
195
195
And I am on site homepage
196
196
Then "#themeboostunionslide1 > img""css_element" should exist
197
-
And the "src" attribute of "#themeboostunionslide1 > img""css_element" should contain "pluginfile.php/1/theme_boost_union/slidebackgroundimage1/0/login_bg1.jpg"
197
+
And the "src" attribute of "#themeboostunionslide1 > img""css_element" should contain "pluginfile.php/1/theme_boost_union/slidebackgroundimage1/0/login_bg1.png"
198
198
And the "alt" attribute of "#themeboostunionslide1 > img""css_element" should contain "This is the image description"
199
199
200
200
Scenario: Setting: Slider - Display an individual slide only if an image is uploaded
@@ -262,16 +262,16 @@ Feature: Configuring the theme_boost_union plugin for the "Slider" tab on the "C
262
262
And Behat debugging is disabled
263
263
And I navigate to "Appearance > Boost Union > Content" in site administration
264
264
And I click on "Slider""link" in the "#adminsettings .nav-tabs""css_element"
265
-
And I upload "theme/boost_union/tests/fixtures/login_bg1.jpg" file to "Slide 2 background image" filemanager
265
+
And I upload "theme/boost_union/tests/fixtures/login_bg1.png" file to "Slide 2 background image" filemanager
266
266
# For a strange reason, Behat fails if we upload all images at once. So we simply save the form after each upload.
267
267
And I press "Save changes"
268
268
And I navigate to "Appearance > Boost Union > Content" in site administration
269
269
And I click on "Slider""link" in the "#adminsettings .nav-tabs""css_element"
270
-
And I upload "theme/boost_union/tests/fixtures/login_bg1.jpg" file to "Slide 3 background image" filemanager
270
+
And I upload "theme/boost_union/tests/fixtures/login_bg1.png" file to "Slide 3 background image" filemanager
271
271
And I press "Save changes"
272
272
And I navigate to "Appearance > Boost Union > Content" in site administration
273
273
And I click on "Slider""link" in the "#adminsettings .nav-tabs""css_element"
274
-
And I upload "theme/boost_union/tests/fixtures/login_bg1.jpg" file to "Slide 4 background image" filemanager
274
+
And I upload "theme/boost_union/tests/fixtures/login_bg1.png" file to "Slide 4 background image" filemanager
275
275
And I press "Save changes"
276
276
And I am on site homepage
277
277
And Behat debugging is enabled
@@ -323,16 +323,16 @@ Feature: Configuring the theme_boost_union plugin for the "Slider" tab on the "C
323
323
And Behat debugging is disabled
324
324
And I navigate to "Appearance > Boost Union > Content" in site administration
325
325
And I click on "Slider""link" in the "#adminsettings .nav-tabs""css_element"
326
-
And I upload "theme/boost_union/tests/fixtures/login_bg1.jpg" file to "Slide 2 background image" filemanager
326
+
And I upload "theme/boost_union/tests/fixtures/login_bg1.png" file to "Slide 2 background image" filemanager
327
327
# For a strange reason, Behat fails if we upload all images at once. So we simply save the form after each upload.
328
328
And I press "Save changes"
329
329
And I navigate to "Appearance > Boost Union > Content" in site administration
330
330
And I click on "Slider""link" in the "#adminsettings .nav-tabs""css_element"
331
-
And I upload "theme/boost_union/tests/fixtures/login_bg1.jpg" file to "Slide 4 background image" filemanager
331
+
And I upload "theme/boost_union/tests/fixtures/login_bg1.png" file to "Slide 4 background image" filemanager
332
332
And I press "Save changes"
333
333
And I navigate to "Appearance > Boost Union > Content" in site administration
334
334
And I click on "Slider""link" in the "#adminsettings .nav-tabs""css_element"
335
-
And I upload "theme/boost_union/tests/fixtures/login_bg1.jpg" file to "Slide 6 background image" filemanager
335
+
And I upload "theme/boost_union/tests/fixtures/login_bg1.png" file to "Slide 6 background image" filemanager
0 commit comments