add test using xpath for example
This commit is contained in:
parent
b6fc86ca13
commit
6f3b09275f
|
@ -10,4 +10,11 @@ describe('Verify initial app screen', () => {
|
|||
const status = await $('~enter-workspace-url').getText();
|
||||
expect(status).to.equal('mobile');
|
||||
});
|
||||
|
||||
it('set workspace url and login', async () => {
|
||||
await $('~enter-workspace-url').setValue('mobile');
|
||||
await $('~new-server-view-button').click();
|
||||
const register = await $('//android.widget.TextView[@content-desc="Create an account"]').getText();
|
||||
expect(register).to.equal('Create an account');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue