Skip to content

Commit

Permalink
fixed e2e (#1279)
Browse files Browse the repository at this point in the history
  • Loading branch information
Meer Sawood authored Aug 31, 2021
1 parent 28ad46c commit 1718db1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions integration-tests/data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"url": "git://github.com/amirrajan/word-finder.git"
},
"dependencies": {
"underscore" : "1.8.1",
"moment": "2.24.0",
"lodash": "4.17.11",
"request": "2.88.0"
"underscore": "1.8.1",
"moment": "2.24.0",
"lodash": "4.17.11",
"request": "2.88.0"
},
"old_dependencies": {
"babel-core": "^6.7.7",
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/features/component_analysis_v2.feature
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ Feature: Component analysis v2 API

Examples: EPV
| ecosystem | package | version | recommended-version | cve | score | severity | title |
| npm | ejs | 1.0.0 | 3.1.3 | SNYK-JS-EJS-10218 | 8.1 | high | Arbitrary Code Execution |
| npm | ejs | 1.0.0 | 3.1.6 | SNYK-JS-EJS-10218 | 8.1 | high | Arbitrary Code Execution |
| npm | marked | 0.3.5 | 1.1.0 | SNYK-JS-MARKED-10377 | 7.5 | high | Cross-site Scripting (XSS) |
| npm | st | 0.2.4 | 2.0.0 | SNYK-JS-ST-10820 | 4.3 | medium | Open Redirect |
| npm | st | 0.2.4 | 3.0.0 | SNYK-JS-ST-10820 | 4.3 | medium | Open Redirect |
| npm | npmconf | 0.0.24 | 2.1.3 | SNYK-JS-NPMCONF-12143 | 7.4 | high | Uninitialized Memory Exposure |
| npm | moment | 2.15.1 | 2.27.0 | SNYK-JS-MOMENT-10841 | 3.7 | low | Regular Expression Denial of Service (ReDoS) |
| npm | mongoose | 4.2.4 | 5.9.19 | SNYK-JS-MONGOOSE-10081 | 5.1 | medium | Remote Memory Exposure |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Feature: Component analysis V2 Batch Call API
And I should receive a valid JSON response
Then I should be able to validate all the feilds or vulnerablities in the result
And I should find package sequence 3.0.0 has no recommendation
And I should find package ejs 1.0.0 has 3.1.3 recommended version
And I should find package ejs 1.0.0 has 3.1.6 recommended version
Then I should find snyk id SNYK-JS-EJS-10218 and 8.1 for package ejs and version 1.0.0
Then I should find snyk id SNYK-JS-ANGULAR-471882 for package angular and version 1.0.0 as private
And I should not find any registered user fields
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/features/user_management.feature
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Feature: User Management API
And I should receive a valid JSON response
Then I should be able to validate all the feilds or vulnerablities in the result with userid
And I should find package sequence 3.0.0 has no recommendation
And I should find package ejs 1.0.0 has 3.1.3 recommended version
And I should find package ejs 1.0.0 has 3.1.6 recommended version
Then I should find snyk id SNYK-JS-EJS-10218 and 8.1 for package ejs and version 1.0.0
Then I should find snyk id SNYK-JS-ANGULAR-471882 for package angular and version 1.0.0 as private
Then I should find all the registered user fields in result
Expand All @@ -116,7 +116,7 @@ Feature: User Management API
And I should receive a valid JSON response
Then I should be able to validate all the feilds or vulnerablities in the result
And I should find package sequence 3.0.0 has no recommendation
And I should find package ejs 1.0.0 has 3.1.3 recommended version
And I should find package ejs 1.0.0 has 3.1.6 recommended version
Then I should find snyk id SNYK-JS-EJS-10218 and 8.1 for package ejs and version 1.0.0
Then I should find snyk id SNYK-JS-ANGULAR-471882 for package angular and version 1.0.0 as private
And I should not find any registered user fields
Expand Down

0 comments on commit 1718db1

Please sign in to comment.