From 6ff68545953d99c35463ded17ff7fdfcf480f3ff Mon Sep 17 00:00:00 2001 From: Jochen Delabie Date: Wed, 2 Sep 2026 14:34:43 +0200 Subject: [PATCH 1/2] release: 1.2.0 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2881242..b4d0e1d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@testingbot/cli", - "version": "1.1.1", + "version": "1.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@testingbot/cli", - "version": "1.1.1", + "version": "1.2.0", "license": "MIT", "dependencies": { "archiver": "^7.0.1", diff --git a/package.json b/package.json index a173049..cb29dd6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@testingbot/cli", - "version": "1.1.1", + "version": "1.2.0", "description": "CLI tool to run Espresso, XCUITest and Maestro tests on TestingBot's cloud infrastructure", "main": "dist/index.js", "bin": { From 0612ce0ed7d24b5ec8022babb35ab2a406222286 Mon Sep 17 00:00:00 2001 From: Jochen Delabie Date: Wed, 2 Sep 2026 14:37:34 +0200 Subject: [PATCH 2/2] tests: make the --exclude-flows directory test path-separator agnostic The stat mock matched a '/wip' suffix, which never fires on Windows once the provider resolves the path with backslashes, so the directory was treated as a file and only one entry was excluded. --- tests/providers/maestro.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/providers/maestro.test.ts b/tests/providers/maestro.test.ts index ef26b48..191c128 100644 --- a/tests/providers/maestro.test.ts +++ b/tests/providers/maestro.test.ts @@ -7227,9 +7227,11 @@ onFlowStart: }); it('drops exact files and everything under a directory', async () => { + // Compare on the basename: the provider resolves paths with the OS + // separator, so a '/wip' suffix check breaks on Windows. fs.promises.stat = jest.fn().mockImplementation(async (p: string) => ({ - isDirectory: () => String(p).endsWith('/wip'), - isFile: () => !String(p).endsWith('/wip'), + isDirectory: () => path.basename(String(p)) === 'wip', + isFile: () => path.basename(String(p)) !== 'wip', })); const m = withExclusions(['/proj/flows/login.yaml', '/proj/flows/wip']); const list = files();