Skip to content

Commit

Permalink
Update command and templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Khadreal committed Apr 6, 2024
1 parent a8f6d71 commit 3a6f9e1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"test:delayjs:flatsome": "THEME=flatsome $npm_package_config_testCommand --tags @delayjs",
"test:delayjs:divi": "THEME=Divi $npm_package_config_testCommand --tags @delayjs",
"test:delayjs:astra": "THEME=astra $npm_package_config_testCommand --tags @delayjs",
"test:llimages": "$npm_package_config_testCommand --tags @llimages",
"test:test": "$npm_package_config_testCommand --tags @test",
"wp-env": "wp-env"
},
Expand Down
2 changes: 1 addition & 1 deletion src/features/lazy-load.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@llcssbg @setup
@llimages @setup
Feature: Check if content are lazyloaded while scrolling
Background:
Given I am logged in
Expand Down
9 changes: 7 additions & 2 deletions src/support/steps/ll-css-bg-image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,22 @@ const LL_BACKGROUND_IMAGES = {
ll_bg_css_double_colon:{
initialImages: [
`${WP_BASE_URL}/`+'wp-content/rocket-test-data/images/fabio-sasso-UgpCjt4XLTY-unsplash.jpg',
`${WP_BASE_URL}/`+'wp-content/rocket-test-data/images/600px-Mapang-test.gif',
`${WP_BASE_URL}/`+'wp-content/rocket-test-data/images/lcp/testjpg4.jpg',
`${WP_BASE_URL}/`+'wp-content/rocket-test-data/images/underline.png',
`${WP_BASE_URL}/`+'wp-content/rocket-test-data/images/Przechwytywanie.PNG',
`${WP_BASE_URL}/`+'wp-content/rocket-test-data/images/maxime-lebrun-6g3Akg708E0-unsplash.jpg',
`${WP_BASE_URL}/`+'wp-content/rocket-test-data/images/Mapang-test.gif',
`${WP_BASE_URL}/`+'wp-content/rocket-test-data/images/BigJPGImage_20mbmb.jpg',
],
lazyLoadedImages: [
`${WP_BASE_URL}/`+'wp-content/rocket-test-data/images/lcp/testavif.avif',
`${WP_BASE_URL}/`+'wp-content/rocket-test-data/images/img_nature.jpg',
`${WP_BASE_URL}/`+'wp-content/rocket-test-data/images/istockphoto-1184692500-612x612.webp',
`${WP_BASE_URL}/`+'wp-content/rocket-test-data/images/miguel-luis-6wxFtwSuXHQ-unsplash.jpg',
`${WP_BASE_URL}/`+'wp-content/rocket-test-data/images/lcp/testjpg.jpg',
`${WP_BASE_URL}/`+'wp-content/rocket-test-data/images/lcp/testjpg3.jpg',
`${WP_BASE_URL}/`+'wp-content/rocket-test-data/images/lcp/testjpg2.jpg',
`${WP_BASE_URL}/`+'wp-content/rocket-test-data/images/butterfly.avif',
`${WP_BASE_URL}/`+'wp-content/rocket-test-data/images/lcp/testwebp.webp'
]
}
};
Expand Down

0 comments on commit 3a6f9e1

Please sign in to comment.