Skip to content

Commit 0e50c42

Browse files
fix smoke test
1 parent 6a6ccbf commit 0e50c42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/smoke-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ jobs:
4747
month = mar,
4848
publisher = {Dead Poet Society}
4949
}
50-
5150
run: |
5251
node - <<'NODE'
5352
import { strict as assert } from 'node:assert';
@@ -59,9 +58,10 @@ jobs:
5958
6059
const textbox = page.getByRole('textbox', { name: 'BibTeX Editor' });
6160
await page.getByRole('button', { name: 'Tidy' }).click();
61+
await page.waitForTimeout(1000);
6262
6363
const output = await textbox.innerText();
64-
assert.equal(output, process.env.EXPECTED);
64+
assert.equal(output.trim(), process.env.EXPECTED.trim());
6565
6666
await browser.close();
6767
NODE

0 commit comments

Comments
 (0)