missing await in test, corrected

This commit is contained in:
Paul Fitzpatrick 2024-05-13 17:55:56 -04:00
parent c1070fa059
commit 8645128b89
No known key found for this signature in database
GPG Key ID: 07F16BF3214888F6

View File

@ -17,8 +17,8 @@ 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 () => { await gu.waitToPass(async () => {
await assert.include( 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);