mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
18 lines
496 B
JavaScript
18 lines
496 B
JavaScript
|
import { assert, driver } from 'mocha-webdriver';
|
||
|
import { gu, server, test } from 'test/nbrowser/gristUtil-nbrowser';
|
||
|
|
||
|
describe('Health.ntest', function() {
|
||
|
test.setupTestSuite(this);
|
||
|
|
||
|
before(async function() {
|
||
|
await gu.supportOldTimeyTestCode();
|
||
|
});
|
||
|
|
||
|
it('make sure the health check endpoint returns something', async function() {
|
||
|
await driver.get(server.getHost() + "/status")
|
||
|
const txt = await driver.getPageSource();
|
||
|
assert.match(txt, /Grist .* is alive/);
|
||
|
});
|
||
|
|
||
|
});
|