Skip to content

Commit

Permalink
Added new step to generate backstop reference
Browse files Browse the repository at this point in the history
  • Loading branch information
jeawhanlee committed Nov 26, 2024
1 parent 60d88f8 commit 89ac8b4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/features/ll-css-bg-image-double-colon.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Feature: C14626 - Should lazyload CSS background images inside internal, and ext
And I save settings 'media' 'lazyloadCssBgImg'

Scenario: Open the page template and compare to nowprocket
Given visual regression reference is generated
Then I must not see any visual regression 'doubleColon'
Then I must not see any error in debug.log
When I log out
Expand Down
3 changes: 2 additions & 1 deletion src/features/ll-css-bg-image-elementor.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
Feature: C14412 - Should be compatible with Elementor background

Scenario: Enable LL BG Images and check page template
Given I am logged in
Given visual regression reference is generated
And 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'
Expand Down
3 changes: 2 additions & 1 deletion src/features/ll-css-bg-image-fallback-js-disabled.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
Feature: C13977 - Should have a fallback for browsers where JavaScript is disabled

Scenario: Open the page template and compare to nowprocket with javascript disabled
Given I am logged in
Given visual regression reference is generated
And 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'
Expand Down
1 change: 1 addition & 0 deletions src/features/ll-css-bg-image-single-colon.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Feature: C14626 - Should lazyload CSS background images inside internal, and ext
And I save settings 'media' 'lazyloadCssBgImg'

Scenario: Open the page template and compare to nowprocket
Given visual regression reference is generated
Then I must not see any visual regression 'singleColon'
Then I must not see any error in debug.log
When I log out
Expand Down
1 change: 1 addition & 0 deletions src/features/ll-css-bg-image.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Feature: C13969 - Should lazyload CSS background images inside internal, and ext
And I save settings 'media' 'lazyloadCssBgImg'

Scenario: Open the page template and compare to nowprocket
Given visual regression reference is generated
Then I must not see any visual regression 'llcss'
Then I must not see any error in debug.log
When I log out
Expand Down
1 change: 1 addition & 0 deletions src/features/lrc-visual-regression.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Feature: LRC Visual Regression Test on Live Template
And I go to 'wp-admin/options-general.php?page=wprocket#dashboard'

Scenario: Shouldn't have any visual regression when visiting
Given visual regression reference is generated
When I log out
And I visit scenario urls
And I am logged in
Expand Down

0 comments on commit 89ac8b4

Please sign in to comment.