mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) updates from grist-core
This commit is contained in:
@@ -66,8 +66,13 @@ describe('DropdownConditionEditor', function () {
|
||||
'user.A\nc\ncess\n ',
|
||||
]);
|
||||
});
|
||||
await gu.sendKeysSlowly(['hoice not in $']);
|
||||
await gu.sendKeysSlowly(['hoice not in ']);
|
||||
// Attempts to reduce test flakiness by delaying input of $. Not guaranteed to do anything.
|
||||
await driver.sleep(100);
|
||||
await gu.sendKeys('$');
|
||||
await gu.waitToPass(async () => {
|
||||
// This test is sometimes flaky here. It will consistently return the wrong value, usually an array of
|
||||
// empty strings. The running theory is it's an issue in Ace editor.
|
||||
const completions = await driver.findAll('.ace_autocomplete .ace_line', el => el.getText());
|
||||
assert.deepEqual(completions, [
|
||||
'$\nName\n ',
|
||||
|
||||
@@ -311,7 +311,9 @@ describe("ViewLayoutCollapse", function() {
|
||||
|
||||
// Move back and drop.
|
||||
await gu.getSection(COMPANIES_CHART).getRect();
|
||||
await move(getDragElement(COMPANIES_CHART));
|
||||
await move(getDragElement(COMPANIES_CHART), {x : 50});
|
||||
await driver.sleep(100);
|
||||
await move(getDragElement(COMPANIES_CHART), {x : 100});
|
||||
await driver.sleep(100);
|
||||
await move(getDragElement(COMPANIES_CHART), {x : 200});
|
||||
await gu.waitToPass(async () => {
|
||||
|
||||
Reference in New Issue
Block a user