Skip to content

Commit

Permalink
Merge pull request #256 from OmicsDI/features/rosette
Browse files Browse the repository at this point in the history
Update e2e test
  • Loading branch information
glmanhtu authored Oct 26, 2018
2 parents 308291d + c2a2ad8 commit 85c0a0e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
6 changes: 1 addition & 5 deletions e2e/modules/dataset/dataset.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ describe('public dataset page', function() {
expect<any>(datasetPage.getSimilar_source().getText()).toContain('PAXDB');

datasetPage.clickGetMoreSimilar();
expect<any>(datasetPage.getSimilar().count()).toBe(15);
expect<any>(datasetPage.getSimilar().count()).toBe(14);


expect<any>(datasetPage.getSimilar_title().getText()).toContain('M.musculus - Jejunum, Protein Intensity (Geiger,MCP,2013)');
Expand All @@ -109,27 +109,23 @@ describe('public dataset page', function() {
expect<any>(datasetPage.getSimilar_title().getText()).toContain('M.musculus - Ileum, Protein Intensity (Geiger,MCP,2013)');
expect<any>(datasetPage.getSimilar_title().getText()).toContain('M.musculus - Spleen, Protein Intensity (Geiger,MCP,2013)');
expect<any>(datasetPage.getSimilar_title().getText()).toContain('M.musculus - Uterus, Protein Intensity (Geiger,MCP,2013)');
expect<any>(datasetPage.getSimilar_title().getText()).toContain('M.musculus - Pancreas, Protein Intensity (Geiger,MCP,2013)');
expect<any>(datasetPage.getSimilar_title().getText()).toContain('M.musculus - Diaphragm, Protein Intensity (Geiger,MCP,2013)');
expect<any>(datasetPage.getSimilar_title().getText()).toContain('M.musculus - Cerebellum, Protein Intensity (Geiger,MCP,2013)');
expect<any>(datasetPage.getSimilar_title().getText()).toContain('M.musculus - Lung, Protein Intensity (Geiger,MCP,2013)');
expect<any>(datasetPage.getSimilar_title().getText()).toContain('M.musculus - Duodenum, Protein Intensity (Geiger,MCP,2013)');
expect<any>(datasetPage.getSimilar_title().getText()).toContain('M.musculus - Stomach, Protein Intensity (Geiger,MCP,2013)');
expect<any>(datasetPage.getSimilar_title().getText()).toContain('M.musculus - Heart, Protein Intensity (Geiger,MCP,2013)');

expect<any>(datasetPage.getSimilar_id().getText()).toContain('100909');
expect<any>(datasetPage.getSimilar_id().getText()).toContain('10090488');
expect<any>(datasetPage.getSimilar_id().getText()).toContain('10090378');
expect<any>(datasetPage.getSimilar_id().getText()).toContain('10090222');
expect<any>(datasetPage.getSimilar_id().getText()).toContain('10090364');
expect<any>(datasetPage.getSimilar_id().getText()).toContain('10090320');
expect<any>(datasetPage.getSimilar_id().getText()).toContain('10090319');
expect<any>(datasetPage.getSimilar_id().getText()).toContain('10090439');
expect<any>(datasetPage.getSimilar_id().getText()).toContain('10090218');
expect<any>(datasetPage.getSimilar_id().getText()).toContain('10090339');
expect<any>(datasetPage.getSimilar_id().getText()).toContain('100906');
expect<any>(datasetPage.getSimilar_id().getText()).toContain('1009080');
expect<any>(datasetPage.getSimilar_id().getText()).toContain('1009072');
});
});

9 changes: 2 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"angular-cli": {},
"scripts": {
"ng": "ng",
"webdriver-update": "webdriver-manager update",
"start": "ng serve",
"test": "ng test",
"e2e": "ng e2e",
Expand Down
2 changes: 1 addition & 1 deletion src/environments/environment.dev.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const environment = {
production: false,
webServiceUrl: 'http://wwwdev.ebi.ac.uk/Tools/omicsdi/ws/',
webServiceUrl : 'http://wwwdev.ebi.ac.uk/Tools/omicsdi/ws/',
userServiceUrl: 'http://wwwdev.ebi.ac.uk/Tools/omicsdi/profilews/api/',
userServiceCookiePath: '/Tools/omicsdi/profilews/',
thorUrl: 'https://www.ebi.ac.uk/europepmc/hubthor/api/dataclaiming/'
Expand Down

0 comments on commit 85c0a0e

Please sign in to comment.