Closed AlephNotation closed 1 month ago
expect(received).toBe(expected) // Object.is equality
Expected: "iVBORw0KGgoAAAANSUhEUgAAAy"
Received: "iVBORw0KGgoAAAANSUhEUgAAAw"
Kinda wonder if swapping this out could subtly change the screenshot hash like that.
Also ran the tests locally with --detectOpenHandles
and it flagged the two fetch calls to /memorize as potentially preventing tests from exiting. Like we hang on it or something and tests fail.
This sets the puppeteer browser to use extra-stealth https://www.npmjs.com/package/puppeteer-extra-plugin-stealth