completion
This commit is contained in:
26
ioneapps-maagapp-ee31119a522d/e2e/firstTest.spec.js
Normal file
26
ioneapps-maagapp-ee31119a522d/e2e/firstTest.spec.js
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
describe('Login', () => {
|
||||
beforeEach(async () => {
|
||||
await device.reloadReactNative();
|
||||
});
|
||||
beforeEach(function(done) {
|
||||
done();
|
||||
});
|
||||
|
||||
it('should have password', async () => {
|
||||
await expect(element(by.id('password'))).toBeVisible();
|
||||
});
|
||||
it('should have username', async () => {
|
||||
await expect(element(by.id('username'))).toBeVisible();
|
||||
});
|
||||
|
||||
// it('should show hello screen after tap', async () => {
|
||||
// await element(by.id('hello_button')).tap();
|
||||
// await expect(element(by.text('Hello!!!'))).toBeVisible();
|
||||
// });
|
||||
|
||||
// it('should show world screen after tap', async () => {
|
||||
// await element(by.id('world_button')).tap();
|
||||
// await expect(element(by.text('World!!!'))).toBeVisible();
|
||||
// });
|
||||
})
|
||||
10
ioneapps-maagapp-ee31119a522d/e2e/init.js
Normal file
10
ioneapps-maagapp-ee31119a522d/e2e/init.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const detox = require('detox');
|
||||
const config = require('../package.json').detox;
|
||||
|
||||
before(async () => {
|
||||
await detox.init(config);
|
||||
});
|
||||
|
||||
after(async () => {
|
||||
await detox.cleanup();
|
||||
});
|
||||
1
ioneapps-maagapp-ee31119a522d/e2e/mocha.opts
Normal file
1
ioneapps-maagapp-ee31119a522d/e2e/mocha.opts
Normal file
@@ -0,0 +1 @@
|
||||
--recursive --timeout 120000 --bail
|
||||
Reference in New Issue
Block a user