maybe reduce the odds of one RawData test failing (#862)

One particular RawData test failure looks to be a consequence of notification toasts building up enough to cover a strategic button. This makes a somewhat simple-minded and brutal fix.

Also gives RemoveTransformColumns a bit more time.
This commit is contained in:
Paul Fitzpatrick 2024-02-21 10:07:45 -05:00 committed by GitHub
parent af676642d4
commit cc04e0bad7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -735,6 +735,7 @@ describe('RawData', function () {
await gu.openPage('CountryLanguage'); await gu.openPage('CountryLanguage');
await gu.getCell(0, 1).find('.test-ref-link-icon').click(); await gu.getCell(0, 1).find('.test-ref-link-icon').click();
assert.isFalse(await driver.find('.test-record-card-popup-overlay').isPresent()); 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.setType('Reference List', {apply: true});
await gu.getCell(0, 1).find('.test-ref-list-link-icon').click(); await gu.getCell(0, 1).find('.test-ref-list-link-icon').click();
assert.isFalse(await driver.find('.test-record-card-popup-overlay').isPresent()); 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"; import {server, setupTestSuite} from "test/nbrowser/testUtils";
describe('RemoveTransformColumns', function () { describe('RemoveTransformColumns', function () {
this.timeout(4000); this.timeout(10000);
setupTestSuite(); setupTestSuite();
it('should remove transform columns when the doc shuts down', async function () { it('should remove transform columns when the doc shuts down', async function () {