Skip to content

Commit 642ea0a

Browse files
author
illarionov-company
committed
change cypress spec values
1 parent 52464f9 commit 642ea0a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

cypress/e2e/spec.cy.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ describe("Scroll", () => {
1212
cy.wait(timeout)
1313
cy.reload()
1414
cy.wait(timeout)
15-
cy.get(".example-1-element").should("have.css", "transform", "matrix(1, 0, 0, 1, 526.926, 0)")
15+
cy.get(".example-1-element").should("have.css", "transform", "matrix(1, 0, 0, 1, 527.498, 0)")
1616

1717
cy.scrollTo(0, 1200)
1818
cy.wait(timeout)
@@ -21,14 +21,14 @@ describe("Scroll", () => {
2121
cy.get(".example-2-element").should(
2222
"have.css",
2323
"transform",
24-
"matrix3d(-1.2457, -0.189284, 0, 0, 0.189284, -1.2457, 0, 0, 0, 0, 1.26, 0, 0, 0, 0, 1)"
24+
"matrix3d(-1.24449, -0.197107, 0, 0, 0.197107, -1.24449, 0, 0, 0, 0, 1.26, 0, 0, 0, 0, 1)"
2525
)
2626

2727
cy.scrollTo(0, 2100)
2828
cy.wait(timeout)
2929
cy.reload()
3030
cy.wait(timeout)
31-
cy.get(".example-3-element-1").should("have.css", "transform", "matrix(1, 0, 0, 1, -368.826, 0)")
31+
cy.get(".example-3-element-1").should("have.css", "transform", "matrix(1, 0, 0, 1, -369.455, 0)")
3232

3333
cy.get(".example-3-element-2").should(
3434
"have.css",
@@ -42,18 +42,18 @@ describe("Scroll", () => {
4242
cy.wait(timeout)
4343

4444
cy.get(".example-4-element-1")
45-
.should("have.css", "transform", "matrix(1, 0, 0, 1, -135.664, 0)")
45+
.should("have.css", "transform", "matrix(1, 0, 0, 1, -135.747, 0)")
4646
.and("have.css", "opacity", "0.05")
4747

4848
cy.get(".example-4-element-2")
49-
.should("have.css", "transform", "matrix(1, 0, 0, 1, 131.605, 0)")
49+
.should("have.css", "transform", "matrix(1, 0, 0, 1, 131.772, 0)")
5050
.and("have.css", "opacity", "0.05")
5151

5252
cy.scrollTo(0, 4150)
5353
cy.wait(timeout)
5454
cy.reload()
5555
cy.wait(timeout)
56-
cy.get(".example-5-element").should("have.css", "transform", "matrix(1, 0, 0, 1, 121.638, 0)")
56+
cy.get(".example-5-element").should("have.css", "transform", "matrix(1, 0, 0, 1, 138.242, 0)")
5757

5858
cy.scrollTo(0, 4900)
5959
cy.wait(timeout)
@@ -78,26 +78,26 @@ describe("Scroll", () => {
7878
cy.get(".example-8-element").should(
7979
"have.css",
8080
"transform",
81-
"matrix(-0.873262, -0.48725, 0.48725, -0.873262, 0, 0)"
81+
"matrix(-0.870184, -0.492727, 0.492727, -0.870184, 0, 0)"
8282
)
8383

8484
cy.scrollTo(0, 6900)
8585
cy.wait(timeout)
8686
cy.reload()
8787
cy.wait(timeout)
8888

89-
cy.get(".example-9-element-1").should("have.css", "transform", "matrix(1, 0, 0, 1, 0, 210.5)")
89+
cy.get(".example-9-element-1").should("have.css", "transform", "matrix(1, 0, 0, 1, 0, 210.8)")
9090

91-
cy.get(".example-9-element-2").should("have.css", "transform", "matrix(1, 0, 0, 1, 0, 197.202)")
91+
cy.get(".example-9-element-2").should("have.css", "transform", "matrix(1, 0, 0, 1, 0, 197.661)")
9292

93-
cy.get(".example-9-element-3").should("have.css", "transform", "matrix(1, 0, 0, 1, 0, 173.088)")
93+
cy.get(".example-9-element-3").should("have.css", "transform", "matrix(1, 0, 0, 1, 0, 173.586)")
9494

9595
cy.scrollTo(0, 8600)
9696
cy.wait(timeout)
9797
cy.reload()
9898
cy.wait(timeout)
9999
cy.get(".example-11-element")
100-
.should("have.css", "transform", "matrix(1, 0, 0, 1, 0, 40.3)")
100+
.should("have.css", "transform", "matrix(1, 0, 0, 1, 0, 40.8)")
101101
.and("have.css", "opacity", "1")
102102
})
103103

0 commit comments

Comments
 (0)