mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
tweak admin test to also work under grist-core settings (#960)
This commit is contained in:
parent
87c0c5153d
commit
b9808944d7
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user