Fixing e2e search tests
parent
a9f1dc4852
commit
2e78141ec1
|
@ -81,16 +81,15 @@ describe('search page', function() {
|
||||||
|
|
||||||
describe('new search', function() {
|
describe('new search', function() {
|
||||||
it('change current tab content on typing in the right column', async 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 text = await $$('.table-main').get(0).$('a').getText();
|
||||||
|
|
||||||
let htmlChanges = await utils.common.outerHtmlChanges('.search-result-table-body');
|
let htmlChanges = await utils.common.outerHtmlChanges('.search-result-table-body');
|
||||||
|
|
||||||
let initialCount = await $$('.table-main').count();
|
let initialCount = await $$('.table-main').count();
|
||||||
|
|
||||||
let searchTerm = element(by.model('searchTerm'));
|
|
||||||
|
|
||||||
await searchTerm.clear();
|
|
||||||
|
|
||||||
await searchTerm.sendKeys(text);
|
await searchTerm.sendKeys(text);
|
||||||
|
|
||||||
await htmlChanges();
|
await htmlChanges();
|
||||||
|
|
Loading…
Reference in New Issue