-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from wp-media/enhancement/56-build-lazyload-test
:chore: Add steps, functions to test lazyload images -- #56
- Loading branch information
Showing
5 changed files
with
199 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@llimages @setup | ||
Feature: Check if content are lazyloaded while scrolling | ||
Background: | ||
Given I am logged in | ||
And plugin is installed 'new_release' | ||
And plugin is activated | ||
When I go to 'wp-admin/options-general.php?page=wprocket#dashboard' | ||
And I save settings 'media' 'lazyloadCssBgImg' | ||
And clear wpr cache | ||
|
||
Scenario: Open Lazy load css background images page | ||
When I log out | ||
And I go to 'lazyload_css_background_images' check initial image loaded | ||
Then I must see other 'lazyload_css_background_images' images | ||
|
||
Scenario: Open single colon template | ||
When I log out | ||
And I go to 'll_bg_css_single_colon' check initial image loaded | ||
Then Check 'll_bg_css_single_colon' input for background images | ||
|
||
Scenario: Open double colon template | ||
When I log out | ||
And I go to 'll_bg_css_double_colon' check initial image loaded | ||
Then Check 'll_bg_css_double_colon' input for background images |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters