react-native-navigation的迁移库

sanity.test.js 265B

123456789101112
  1. describe('sanity', () => {
  2. beforeEach(async () => await global.device.reloadReactNative());
  3. it('should push a screen', async () => {
  4. await element(by.id('pushScreen')).tap();
  5. await expect(element(by.label('Pushed Screen'))).toBeVisible();
  6. });
  7. });