The Onboarding View is blocking me from writing e2e test

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

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