From 5da378a248101a5235fb8de771dcc0927e32cade Mon Sep 17 00:00:00 2001 From: Bryan Lai <56288120+gblaih@users.noreply.github.com> Date: Fri, 12 Jul 2024 15:26:00 -0400 Subject: [PATCH] fix flaky e2e test (#4947) Co-authored-by: Bryan Lai --- .../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); });