暫無描述

firstTest.spec.js 588B

12345678910111213141516171819
  1. describe('Example', () => {
  2. beforeEach(async () => {
  3. await device.reloadReactNative();
  4. });
  5. it('should have welcome screen', async () => {
  6. await expect(element(by.id('welcome'))).toBeVisible();
  7. });
  8. // it('should show hello screen after tap', async () => {
  9. // await element(by.id('hello_button')).tap();
  10. // await expect(element(by.text('Hello!!!'))).toBeVisible();
  11. // });
  12. // it('should show world screen after tap', async () => {
  13. // await element(by.id('world_button')).tap();
  14. // await expect(element(by.text('World!!!'))).toBeVisible();
  15. // });
  16. })