mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-03 23:37:53 +01:00
test(browse): the retired 1.62.1 patch stays deleted
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
aae8954ecc
commit
17ffac3600
1 file changed
+1
@@ -41,6 +41,7 @@ describe('playwright-core windowsHide patch (#2160, #1989)', () => {
|
|||||||
const version = installedPlaywrightCoreVersion();
|
const version = installedPlaywrightCoreVersion();
|
||||||
const patchPath = path.join(ROOT, 'patches', `playwright-core@${version}.patch`);
|
const patchPath = path.join(ROOT, 'patches', `playwright-core@${version}.patch`);
|
||||||
expect(fs.existsSync(patchPath)).toBe(true);
|
expect(fs.existsSync(patchPath)).toBe(true);
|
||||||
|
expect(fs.existsSync(path.join(ROOT, 'patches', 'playwright-core@1.62.1.patch'))).toBe(false);
|
||||||
const patch = fs.readFileSync(patchPath, 'utf-8');
|
const patch = fs.readFileSync(patchPath, 'utf-8');
|
||||||
// Launch spawnOptions site.
|
// Launch spawnOptions site.
|
||||||
expect(patch).toContain('+ windowsHide: true,');
|
expect(patch).toContain('+ windowsHide: true,');
|
||||||
|
|||||||
Reference in new issue
Block a user