react-native-navigation的迁移库

ScreenStyleStatic.test.js 417B

1234567891011121314
  1. const Utils = require('./Utils');
  2. const elementByLabel = Utils.elementByLabel;
  3. describe('screen style - static', () => {
  4. beforeEach(async () => {
  5. await device.relaunchApp();
  6. });
  7. it('declare a navigationOptions on container component', async () => {
  8. await elementByLabel('Push Options Screen').tap();
  9. await expect(element(by.label('Static Title').and(by.type('UILabel')))).toBeVisible();
  10. });
  11. });