The Onboarding View is blocking me from writing e2e test

Please provide the following:

  1. SDK Version: 39
  2. Platforms(Android/iOS/web/all): all

I’m loading the expo app with + appium to run my e2e against. However on a fresh install of the app I can get passed the Onboarding View (Hey there, Friend!)

Is there a way to disable it?

For the moment I have worked around it by add the following to my wdio.conf.js

  before: function (capabilities, specs) {
    $(`-ios predicate string:label == 'Got it'`).click();
    $(`-ios predicate string:label == ''`).click();

hi- I think you’ll probably have an easier time testing on a standalone build, rather than in the Expo client app. You can get a simulator build for iOS by running expo build:ios -t simulator, and for Android you can just use the APK you get from expo build:android -t apk

Thanks. I do agree. However this make a TDD/BDD workflow pretty tedious. It would be great if expo would support a bit more :slight_smile:

Perhaps you could build a custom version of the client?

Yes, that might be a good one. Does expo accept feature requests?

Yes. See

@richardruiter I have just come across the following in another thread:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.