Skip to content

Commit a7949ea

Browse files
authored
Fix/lcp expected (#278)
* merged trunk and added comment * updated the expected of the special char template
1 parent 5f7bdc3 commit a7949ea

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

src/support/results/expectedResultsDesktop.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -476,12 +476,9 @@
476476
},
477477
"lcp_specialchar2": {
478478
"lcp": [
479-
"/wp-content/rocket-test-data/images/lcp/%D7%A2%D7%93%D7%99-%D7%A8%D7%99%D7%93%D7%9C%D7%9E%D7%9F-%D7%A8%D7%90%D7%A9%D7%99-%D7%90%D7%A8%D7%95%D7%9A-200x400.jpeg"
480-
],
481-
"viewport": [
482-
"/%D7%A2%D7%93%D7%99-%D7%A8%D7%99%D7%93%D7%9C%D7%9E%D7%9F-%D7%A8%D7%90%D7%A9%D7%99-%D7%90%D7%A8%D7%95%D7%9A-300x300.jpg",
483-
"/wp-content/rocket-test-data/images/lcp/%D7%A2%D7%93%D7%99-%D7%A8%D7%99%D7%93%D7%9C%D7%9E%D7%9F-%D7%A8%D7%90%D7%A9%D7%99-%D7%90%D7%A8%D7%95%D7%9A-200x300.webp"
479+
"/%D7%A2%D7%93%D7%99-%D7%A8%D7%99%D7%93%D7%9C%D7%9E%D7%9F-%D7%A8%D7%90%D7%A9%D7%99-%D7%90%D7%A8%D7%95%D7%9A-300x300.jpg"
484480
],
481+
"viewport": [],
485482
"enabled": true
486483
},
487484
"lcp_images_in_root": {

src/support/results/expectedResultsMobile.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,10 +472,12 @@
472472
},
473473
"lcp_specialchar2": {
474474
"lcp": [
475-
"/wp-content/rocket-test-data/images/lcp/%D7%A2%D7%93%D7%99-%D7%A8%D7%99%D7%93%D7%9C%D7%9E%D7%9F-%D7%A8%D7%90%D7%A9%D7%99-%D7%90%D7%A8%D7%95%D7%9A-200x400.jpeg"
475+
"/%D7%A2%D7%93%D7%99-%D7%A8%D7%99%D7%93%D7%9C%D7%9E%D7%9F-%D7%A8%D7%90%D7%A9%D7%99-%D7%90%D7%A8%D7%95%D7%9A-300x300.jpg"
476+
476477
],
477478
"viewport": [
478-
"/%D7%A2%D7%93%D7%99-%D7%A8%D7%99%D7%93%D7%9C%D7%9E%D7%9F-%D7%A8%D7%90%D7%A9%D7%99-%D7%90%D7%A8%D7%95%D7%9A-300x300.jpg",
479+
"/wp-content/rocket-test-data/images/lcp/%D7%A2%D7%93%D7%99-%D7%A8%D7%99%D7%93%D7%9C%D7%9E%D7%9F-%D7%A8%D7%90%D7%A9%D7%99-%D7%90%D7%A8%D7%95%D7%9A-200x400.jpeg",
480+
479481
"/wp-content/rocket-test-data/images/lcp/%D7%A2%D7%93%D7%99-%D7%A8%D7%99%D7%93%D7%9C%D7%9E%D7%9F-%D7%A8%D7%90%D7%A9%D7%99-%D7%90%D7%A8%D7%95%D7%9A-200x300.webp"
480482
],
481483
"enabled": true

src/support/steps/lcp-beacon-script.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ When('I visit the urls and check for lazyload', async function (this: ICustomWor
9292
}
9393
});
9494

95+
96+
97+
// visit URL
9598
When(
9699
'I visit the url {string} for {string}',
97100
async function (this: ICustomWorld, templateKey: string, formFactor: string) {

0 commit comments

Comments
 (0)