Skip to content

Commit

Permalink
fix(e2e): updated number of default heroes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ismael Ramos committed Oct 16, 2017
1 parent 5ab8cf9 commit cd0b1d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions e2e/pages/heroes-list/heroes-list-page.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ import {HeroesListPage} from './heroes-list-page';

describe('Home page', function () {
let page;
const defaultHeroes = 9;

beforeEach(() => {
page = new HeroesListPage();
});

it('should contains equal or more heroes than default ones', () => {
HeroesListPage.navigateTo();
expect<any>(HeroesListPage.getNumberHeroes()).toBeGreaterThanOrEqual(defaultHeroes);
expect<any>(HeroesListPage.getNumberHeroes()).toBeGreaterThanOrEqual(8);
});
});

0 comments on commit cd0b1d4

Please sign in to comment.