Fixed e2e tests
This commit is contained in:
parent
1f974e5176
commit
e2c69203ec
@ -26,11 +26,11 @@ describe('InsightApp', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('the left menu has a link with title Blocks', () => {
|
it('the left menu has a link with title Home', () => {
|
||||||
element(by.css('.bar-button-menutoggle')).click()
|
element(by.css('.bar-button-menutoggle')).click()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
browser.driver.sleep(2000); // wait for the animation
|
browser.driver.sleep(2000); // wait for the animation
|
||||||
expect(element.all(by.css('ion-label')).first().getText()).toEqual('Blocks');
|
expect(element.all(by.css('ion-label')).first().getText()).toEqual('Home');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@ -10,7 +10,7 @@ describe('BroadcastTxPage', () => {
|
|||||||
element(by.css('.bar-button-menutoggle')).click().then(() => {
|
element(by.css('.bar-button-menutoggle')).click().then(() => {
|
||||||
browser.driver.sleep(2000); // wait for the animation
|
browser.driver.sleep(2000); // wait for the animation
|
||||||
element.all(by.className('input-wrapper')).then((items) => {
|
element.all(by.className('input-wrapper')).then((items) => {
|
||||||
items[1].click();
|
items[2].click();
|
||||||
browser.driver.sleep(2000); // wait for the animation
|
browser.driver.sleep(2000); // wait for the animation
|
||||||
let theElem = element.all(by.css('ion-label')).first;
|
let theElem = element.all(by.css('ion-label')).first;
|
||||||
console.log(theElem);
|
console.log(theElem);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user