fix: acceptance tests for secrets test output [PS-357]#6628
fix: acceptance tests for secrets test output [PS-357]#6628alexandru-manea-snyk wants to merge 1 commit intomainfrom
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
97767d5 to
b04f5e4
Compare
This comment has been minimized.
This comment has been minimized.
b04f5e4 to
624110a
Compare
This comment has been minimized.
This comment has been minimized.
624110a to
1352c55
Compare
This comment has been minimized.
This comment has been minimized.
test/jest/acceptance/snyk-secrets/snyk-secrets-test-user-journey.spec.ts
Outdated
Show resolved
Hide resolved
test/jest/acceptance/snyk-secrets/snyk-secrets-test-user-journey.spec.ts
Show resolved
Hide resolved
test/jest/acceptance/snyk-secrets/snyk-secrets-test-user-journey.spec.ts
Show resolved
Hide resolved
test/jest/acceptance/snyk-secrets/snyk-secrets-test-user-journey.spec.ts
Outdated
Show resolved
Hide resolved
1352c55 to
7f2d38b
Compare
This comment has been minimized.
This comment has been minimized.
7f2d38b to
cc9753d
Compare
This comment has been minimized.
This comment has been minimized.
cc9753d to
74f0b68
Compare
This comment has been minimized.
This comment has been minimized.
74f0b68 to
cd18a7a
Compare
This comment has been minimized.
This comment has been minimized.
cd18a7a to
d89c8ea
Compare
This comment has been minimized.
This comment has been minimized.
d89c8ea to
6eedd64
Compare
This comment has been minimized.
This comment has been minimized.
7a9c153 to
7ee603b
Compare
This comment has been minimized.
This comment has been minimized.
7ee603b to
3006e78
Compare
This comment has been minimized.
This comment has been minimized.
3006e78 to
b7a5773
Compare
This comment has been minimized.
This comment has been minimized.
b7a5773 to
d8b4067
Compare
This comment has been minimized.
This comment has been minimized.
d8b4067 to
a3af591
Compare
This comment has been minimized.
This comment has been minimized.
test/jest/acceptance/snyk-secrets/snyk-secrets-test-user-journey.spec.ts
Outdated
Show resolved
Hide resolved
test/jest/acceptance/snyk-secrets/snyk-secrets-test-user-journey.spec.ts
Outdated
Show resolved
Hide resolved
test/jest/acceptance/snyk-secrets/snyk-secrets-test-user-journey.spec.ts
Outdated
Show resolved
Hide resolved
test/jest/acceptance/snyk-secrets/snyk-secrets-test-user-journey.spec.ts
Outdated
Show resolved
Hide resolved
c0e64c0 to
9b4bef8
Compare
PR Reviewer Guide 🔍
|
This comment has been minimized.
This comment has been minimized.
test/jest/acceptance/snyk-secrets/snyk-secrets-test-user-journey.spec.ts
Show resolved
Hide resolved
|
|
||
| describe('validation', () => { | ||
| it('should return an error for --report', async () => { | ||
| it.skip('should return an error for --report', async () => { |
There was a problem hiding this comment.
issue: same here
let's add a comment on these skipped tests stating why they're skipped, otherwise we should remove these tests instead of skipping them
j-luong
left a comment
There was a problem hiding this comment.
pre-approved to unblock once the issues are resolved
9b4bef8 to
b1dc77c
Compare
This comment has been minimized.
This comment has been minimized.
b1dc77c to
2da636f
Compare
This comment has been minimized.
This comment has been minimized.
2da636f to
f3bdbe4
Compare
PR Reviewer Guide 🔍
|
Pull Request Submission Checklist
are release-note ready, emphasizing
what was changed, not how.
What does this PR do?
This PR adds acceptance tests to validate the SARIF and human-readable outputs of the
secrets testcommand. These tests are designed to codify our rendering expectations and serve as a shared contract for the CLI team to iterate against.Where should the reviewer start?
test/jest/acceptance/snyk-secrets/snyk-secrets-test-user-journey.spec.ts;How should this be manually tested?
Run the acceptance tests locally.
What's the product update that needs to be communicated to CLI users?
N/A
Risk assessment (Low | Medium | High)?
Low - extends test suite.
What are the relevant tickets?