Fixing e2e search tests

stable
Alejandro Alonso 2015-10-29 15:24:31 +01:00
parent a9f1dc4852
commit 2e78141ec1
1 changed files with 3 additions and 4 deletions

View File

@ -81,16 +81,15 @@ describe('search page', function() {
describe('new search', function() {
it('change current tab content on typing in the right column', async function() {
let searchTerm = element(by.model('searchTerm'));
await searchTerm.clear();
let text = await $$('.table-main').get(0).$('a').getText();
let htmlChanges = await utils.common.outerHtmlChanges('.search-result-table-body');
let initialCount = await $$('.table-main').count();
let searchTerm = element(by.model('searchTerm'));
await searchTerm.clear();
await searchTerm.sendKeys(text);
await htmlChanges();