From c4f43e4e9f89ca25d77d40826d67acfc29dd54a5 Mon Sep 17 00:00:00 2001 From: Bryan Lai Date: Fri, 12 Jul 2024 12:52:09 -0400 Subject: [PATCH] fix flaky e2e test --- .../remote/specs/core/genomicEvolution.screenshot.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/end-to-end-test/remote/specs/core/genomicEvolution.screenshot.spec.js b/end-to-end-test/remote/specs/core/genomicEvolution.screenshot.spec.js index daf954d1604..ef7331c2558 100644 --- a/end-to-end-test/remote/specs/core/genomicEvolution.screenshot.spec.js +++ b/end-to-end-test/remote/specs/core/genomicEvolution.screenshot.spec.js @@ -95,6 +95,7 @@ describe('Patient View Genomic Evolution tab screenshot tests', function() { $( 'div[data-test="GenomicEvolutionMutationTable"] table tbody > tr:nth-child(2)' ).click(); + $('body').moveTo({ xOffset: 0, yOffset: 0 }); const res = browser.checkElement('[data-test=VAFChartWrapper]'); assertScreenShotMatch(res); });