missing await in test

This commit is contained in:
Paul Fitzpatrick 2024-05-13 17:36:22 -04:00
parent 632a2b00c5
commit c1070fa059
No known key found for this signature in database
GPG Key ID: 07F16BF3214888F6

View File

@ -18,7 +18,7 @@ describe('Boot', function() {
async function hasPrompt() { async function hasPrompt() {
// There is some glitchiness to when the text appears. // There is some glitchiness to when the text appears.
gu.waitToPass(async () => { gu.waitToPass(async () => {
assert.include( await assert.include(
await driver.findContentWait('pre', /GRIST_BOOT_KEY/, 2000).getText(), await driver.findContentWait('pre', /GRIST_BOOT_KEY/, 2000).getText(),
'GRIST_BOOT_KEY=secret'); 'GRIST_BOOT_KEY=secret');
}, 3000); }, 3000);