Skip to content

Commit aa13bef

Browse files
committed
test(nx-plugin-e2e): remove flaky "--verbose" substring assertion
Fails when run in Nx Cloud on a commit which happens to have "--verbose" in the title (such as this one or parent). The verbose argument handling is already tested in executor.unit.test.ts, so it's not necessary to test such a non-critical feature again in E2E tests.
1 parent 18a0bdc commit aa13bef

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

e2e/nx-plugin-e2e/tests/plugin-create-nodes.e2e.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ describe('nx-plugin', () => {
179179
// Run CLI executor
180180
expect(cleanStdout).toContain('DryRun execution of:');
181181
expect(cleanStdout).toContain('npx @code-pushup/cli');
182-
expect(cleanStdout).not.toContain('--verbose');
183-
expect(cleanStdout).toContain('CP_VERBOSE="true"');
184182
});
185183

186184
it('should consider plugin option bin in executor target', async () => {

0 commit comments

Comments
 (0)