mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
rebase and tweak test to handle initial UI instability
This commit is contained in:
parent
bc4a8a9095
commit
54257c2865
@ -196,9 +196,11 @@ describe('AdminPanel', function() {
|
|||||||
it('should show various self checks', async function() {
|
it('should show various self checks', async function() {
|
||||||
await driver.get(`${server.getHost()}/admin`);
|
await driver.get(`${server.getHost()}/admin`);
|
||||||
await waitForAdminPanel();
|
await waitForAdminPanel();
|
||||||
assert.equal(await driver.find('.test-admin-panel-item-name-probe-reachable').isDisplayed(), true);
|
|
||||||
await gu.waitToPass(
|
await gu.waitToPass(
|
||||||
async () => assert.match(await driver.find('.test-admin-panel-item-value-probe-reachable').getText(), /✅/),
|
async () => {
|
||||||
|
assert.equal(await driver.find('.test-admin-panel-item-name-probe-reachable').isDisplayed(), true);
|
||||||
|
assert.match(await driver.find('.test-admin-panel-item-value-probe-reachable').getText(), /✅/);
|
||||||
|
},
|
||||||
3000,
|
3000,
|
||||||
);
|
);
|
||||||
assert.equal(await driver.find('.test-admin-panel-item-name-probe-system-user').isDisplayed(), true);
|
assert.equal(await driver.find('.test-admin-panel-item-name-probe-system-user').isDisplayed(), true);
|
||||||
|
Loading…
Reference in New Issue
Block a user