(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
pull/1032/head
Dmitry S 3 months ago
parent 72066bf0e4
commit f280de6aef

@ -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();

Loading…
Cancel
Save