Skip to content

Commit e44f9db

Browse files
committed
fix: test
1 parent eb8b5e4 commit e44f9db

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/cli/e2e/__tests__/pw-test.spec.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,16 @@ describe('pw-test', { timeout: 45000 }, () => {
6060

6161
it('Should add a Playwright test with custom install command to the config', async () => {
6262
const result = await runChecklyCli({
63-
args: ['pw-test', '--install-command', 'pnpm install', '--create-check', '--', `--grep`, '@TAG-B'],
63+
args: ['pw-test', '--install-command', 'pnpm install', '--create-check', '--', `--grep`, '@TAG-A'],
6464
apiKey: config.get('apiKey'),
6565
accountId: config.get('accountId'),
6666
directory: FIXTURE_TEST_PWT_NATIVE,
6767
timeout: 120000, // 2 minutes
6868
})
69+
if (result.status !== 0) {
70+
// eslint-disable-next-line no-console
71+
console.log(result)
72+
}
6973
expect(result.status).toBe(0)
7074
const checklyConfig = await loadChecklyConfig(FIXTURE_TEST_PWT_NATIVE)
7175
expect(checklyConfig.config?.checks).toBeDefined()

0 commit comments

Comments
 (0)