From f280de6aef9cfce04f830bde055e439569564f33 Mon Sep 17 00:00:00 2001 From: Dmitry S Date: Mon, 10 Jun 2024 12:55:26 -0400 Subject: [PATCH] (core) Fix for flaky GridViewNewColumnMenu test which may have been flaky because of window resizing. Test Plan: Only a test change Reviewers: jarek Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D4267 --- test/nbrowser/GridViewNewColumnMenu.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/nbrowser/GridViewNewColumnMenu.ts b/test/nbrowser/GridViewNewColumnMenu.ts index 0054662e..d8faa9c4 100644 --- a/test/nbrowser/GridViewNewColumnMenu.ts +++ b/test/nbrowser/GridViewNewColumnMenu.ts @@ -341,6 +341,13 @@ describe('GridViewNewColumnMenu', function () { describe('create formula column', function(){ revertThis(); + + before(async function() { + // Previous test runs in a smaller screen. It restores the window, but it's hard to know + // when all the resizing has taken effect, and easier to just reload the doc. + await gu.reloadDoc(); + }); + it('should show "create formula column" option with tooltip', async function () { // open add new colum menu await clickAddColumn();