(core) updates from grist-core

This commit is contained in:
Paul Fitzpatrick
2024-02-26 07:48:17 -05:00
10 changed files with 1037 additions and 4 deletions

View File

@@ -79,6 +79,8 @@ describe('ActionLog', function() {
await gu.undo(2);
await driver.navigate().refresh();
await gu.waitForDocToLoad();
// Dismiss forms announcement popup, if present.
await gu.dismissBehavioralPrompts();
// refreshing browser will restore position on last cell
// switch active cell to the first cell in the first row
await gu.getCell(0, 1).click();

View File

@@ -246,6 +246,8 @@ describe("Fork", function() {
await userSession.loadDoc(`/doc/${doc.id}/m/fork`);
assert.equal(await gu.getEmail(), userSession.email);
assert.equal(await driver.find('.test-unsaved-tag').isPresent(), false);
// Dismiss forms announcement popup, if present.
await gu.dismissBehavioralPrompts();
await gu.getCell({rowNum: 1, col: 0}).click();
await gu.enterCell('123');
await gu.waitForServer();

View File

@@ -735,6 +735,7 @@ describe('RawData', function () {
await gu.openPage('CountryLanguage');
await gu.getCell(0, 1).find('.test-ref-link-icon').click();
assert.isFalse(await driver.find('.test-record-card-popup-overlay').isPresent());
await gu.wipeToasts(); // notification build-up can cover setType button.
await gu.setType('Reference List', {apply: true});
await gu.getCell(0, 1).find('.test-ref-list-link-icon').click();
assert.isFalse(await driver.find('.test-record-card-popup-overlay').isPresent());

View File

@@ -4,7 +4,7 @@ import * as gu from 'test/nbrowser/gristUtils';
import {server, setupTestSuite} from "test/nbrowser/testUtils";
describe('RemoveTransformColumns', function () {
this.timeout(4000);
this.timeout(10000);
setupTestSuite();
it('should remove transform columns when the doc shuts down', async function () {