From 0e56eccd0dd560400562f70992bd186d4d6e5641 Mon Sep 17 00:00:00 2001 From: Sidhartha Chatterjee Date: Wed, 9 Dec 2020 19:50:44 +0530 Subject: [PATCH] Fix incorrect assertion --- .../production-runtime/cypress/integration/scroll-behavior.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e-tests/production-runtime/cypress/integration/scroll-behavior.js b/e2e-tests/production-runtime/cypress/integration/scroll-behavior.js index e1f135df5169d..e62a769a2132e 100644 --- a/e2e-tests/production-runtime/cypress/integration/scroll-behavior.js +++ b/e2e-tests/production-runtime/cypress/integration/scroll-behavior.js @@ -48,7 +48,7 @@ describe(`Scroll behaviour`, () => { cy.go(`forward`).waitForRouteChange() cy.window().then(updatedWindow => { - expect(updatedWindow.scrollY).not.to.eq(idScrollY) + expect(updatedWindow.scrollY).to.eq(idScrollY) }) }) })