-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add e2e and screenshot tests for refactored add mutation modal (#495)
- Loading branch information
Showing
22 changed files
with
607 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
src/test/javascript/data/api-annotate-alterations-exon-2-4-deletion.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
[ | ||
{ | ||
"entity": { | ||
"id": null, | ||
"type": "STRUCTURAL_VARIANT", | ||
"name": "Exon 2-4 Deletion", | ||
"alteration": "Exon 2 Deletion + Exon 3 Deletion + Exon 4 Deletion", | ||
"proteinChange": "", | ||
"start": 1, | ||
"end": 150, | ||
"refResidues": null, | ||
"variantResidues": null, | ||
"flags": [], | ||
"genes": [ | ||
{ | ||
"id": 30432, | ||
"entrezGeneId": 3845, | ||
"hugoSymbol": "KRAS", | ||
"hgncId": "6407" | ||
} | ||
], | ||
"transcripts": [], | ||
"consequence": { | ||
"id": 39, | ||
"term": "UNKNOWN", | ||
"name": "Unknown", | ||
"isGenerallyTruncating": false, | ||
"description": "Unknown status" | ||
}, | ||
"associations": [] | ||
}, | ||
"message": "", | ||
"type": "OK", | ||
"queryId": null, | ||
"annotation": { | ||
"hotspot": { | ||
"associatedHotspots": [], | ||
"hotspot": false | ||
}, | ||
"exons": [ | ||
{ | ||
"range": { | ||
"start": 1, | ||
"end": 37 | ||
}, | ||
"exon": 2 | ||
}, | ||
{ | ||
"range": { | ||
"start": 38, | ||
"end": 97 | ||
}, | ||
"exon": 3 | ||
}, | ||
{ | ||
"range": { | ||
"start": 97, | ||
"end": 150 | ||
}, | ||
"exon": 4 | ||
} | ||
] | ||
}, | ||
"warning": false, | ||
"ok": true, | ||
"error": false | ||
} | ||
] |
46 changes: 46 additions & 0 deletions
46
src/test/javascript/data/api-annotate-alterations-oncogenic-mutations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
[ | ||
{ | ||
"entity": { | ||
"id": null, | ||
"type": "ANY", | ||
"name": "Oncogenic Mutations", | ||
"alteration": "Oncogenic Mutations", | ||
"proteinChange": "", | ||
"start": null, | ||
"end": null, | ||
"refResidues": null, | ||
"variantResidues": null, | ||
"flags": [], | ||
"genes": [ | ||
{ | ||
"id": 41135, | ||
"entrezGeneId": null, | ||
"hugoSymbol": null, | ||
"hgncId": null | ||
} | ||
], | ||
"transcripts": [], | ||
"consequence": { | ||
"id": 3, | ||
"term": "ANY", | ||
"name": "Any", | ||
"isGenerallyTruncating": false, | ||
"description": "Any variant" | ||
}, | ||
"associations": [] | ||
}, | ||
"message": "", | ||
"type": "OK", | ||
"queryId": null, | ||
"annotation": { | ||
"hotspot": { | ||
"associatedHotspots": [], | ||
"hotspot": false | ||
}, | ||
"exons": [] | ||
}, | ||
"warning": false, | ||
"ok": true, | ||
"error": false | ||
} | ||
] |
Oops, something went wrong.