Skip to content

Commit

Permalink
Added new scenario step
Browse files Browse the repository at this point in the history
  • Loading branch information
jeawhanlee committed Oct 15, 2023
1 parent 838821a commit 2e566ab
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/features/ll-css-bg-image.feature
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
@llcssbg
Feature: C13969 - Should lazyload CSS background images inside internal, and external CSS

Background:
Given I am logged in

Scenario: Open the page template and compare to nowprocket
Given plugin is installed
Given I am logged in
And plugin is installed
And plugin is activated
When I go to 'wp-admin/options-general.php?page=wprocket#dashboard'
And I save settings 'media' 'lazyloadCssBgImg'
Then I must not see any visual regression 'llcss'
Then I must not see any error in debug.log
When I log out
Then no error in the console different than nowprocket page
Then no error in the console different than nowprocket page
Scenario: Inspect the element that loads the background image
When I go to 'lazyload_css_background_images'
Then I must see the correct style in the head.

0 comments on commit 2e566ab

Please sign in to comment.