This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
format_version: 1.1.0 | |
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
trigger_map: | |
- push_branch: "*" | |
workflow: tests | |
workflows: | |
_tests_setup: | |
steps: | |
- activate-ssh-key: {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Pillow Pro - Login', () => { | |
beforeEach(async () => { | |
await device.reloadReactNative(); | |
}); | |
it('should login a pro fellow', async () => { | |
await waitFor(element(by.id('login_title'))).toBeVisible().withTimeout(5000); | |
await expect(element(by.id('login_subtitle'))).toBeVisible(); | |
await element(by.text('Email address')).typeText('[email protected]'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Pillow Pro - Permissions', () => { | |
it('Push Notifications permission is granted', async () => { | |
await device.launchApp({ permissions: { notifications: 'YES' } }); | |
}); | |
it('Location permission is granted', async () => { | |
await device.launchApp({ permissions: { location: 'inuse' } }); | |
}); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'react-native'; | |
import React from 'react'; | |
import renderer from 'react-test-renderer'; | |
import { EnterLogin } from '../enter_login'; | |
test( 'EnterLogin view renders correctly', () => { | |
const tree = renderer.create( | |
<EnterLogin /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import configureStore from 'redux-mock-store' | |
import * as errorsActions from '../../../actions/errors' | |
import { mock_errors } from '../../../store/mock_data' | |
import setErrorMessage from '../set_error_message' | |
import resetErrorMessage from '../reset_error_message' | |
const middlewares = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import configureStore from 'redux-mock-store' | |
import * as activityActions from '../activity' | |
import { mock_activity } from '../../store/mock_data' | |
const middlewares = [] | |
const mockStore = configureStore( middlewares ) | |
const initialState = {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
format_version: 1.1.0 | |
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
app: | |
envs: | |
- BITRISE_PROJECT_PATH: ios/pro_mobile.xcodeproj | |
opts: | |
is_expand: false | |
- BITRISE_SCHEME: pro_mobile | |
opts: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
format_version: 1.1.0 | |
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
trigger_map: | |
- push_branch: qa | |
workflow: qa | |
workflows: | |
_init_install: | |
steps: | |
- activate-ssh-key: |