(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
This commit is contained in:
Dmitry S 2024-06-10 12:55:26 -04:00
parent 72066bf0e4
commit f280de6aef

View File

@ -341,6 +341,13 @@ describe('GridViewNewColumnMenu', function () {
describe('create formula column', function(){ describe('create formula column', function(){
revertThis(); 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 () { it('should show "create formula column" option with tooltip', async function () {
// open add new colum menu // open add new colum menu
await clickAddColumn(); await clickAddColumn();