Skip to content

Commit

Permalink
attempting to output screenshot artifacts to bitrise. also tapping by…
Browse files Browse the repository at this point in the history
… text instead of byLabel on the onboarding screen.
  • Loading branch information
cortisiko committed Jun 15, 2023
1 parent c78f12f commit 8dfc482
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,10 @@ workflows:
is_always_run: true
is_skippable: false
title: Deploy test report files
- deploy-to-bitrise-io@2.2.3:
inputs:
- deploy_path: $PROJECT_LOCATION/artifacts
title: E2E tests artifacts
meta:
bitrise.io:
stack: linux-docker-android-20.04
Expand Down
4 changes: 1 addition & 3 deletions e2e/pages/Onboarding/OnboardingView.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ const DeletePasswordString = messages.onboarding.your_wallet;
export default class OnboardingView {
static async tapCreateWallet() {
if (device.getPlatform() === 'android') {
await TestHelpers.waitAndTapByLabel(
WALLET_SETUP_CREATE_NEW_WALLET_BUTTON_ID,
);
await TestHelpers.waitAndTapText('Create a new wallet');
} else {
await TestHelpers.waitAndTap(WALLET_SETUP_CREATE_NEW_WALLET_BUTTON_ID);
}
Expand Down

0 comments on commit 8dfc482

Please sign in to comment.