(core) updates from grist-core

This commit is contained in:
Paul Fitzpatrick
2024-05-07 15:21:43 -04:00
9 changed files with 611 additions and 81 deletions

View File

@@ -182,12 +182,14 @@ describe('AdminPanel', function() {
await waitForAdminPanel();
assert.equal(await driver.find('.test-admin-panel-item-sandboxing').isDisplayed(), true);
await gu.waitToPass(
async () => assert.match(await driver.find('.test-admin-panel-item-value-sandboxing').getText(), /^unknown/),
// unknown for grist-saas, unconfigured for grist-core.
async () => assert.match(await driver.find('.test-admin-panel-item-value-sandboxing').getText(),
/^((unknown)|(unconfigured))/),
3000,
);
// It would be good to test other scenarios, but we are using
// a multi-server setup and the sandbox test isn't useful there
// yet.
// a multi-server setup on grist-saas and the sandbox test isn't
// useful there yet.
});
const upperCheckNow = () => driver.find('.test-admin-panel-updates-upper-check-now');