Registering account test - advice for deletion/teardown

Hi all,

I’m about to embark on the mission to automate the account creation process for our app. I was just wondering if anyone has advice on deleting the account once the test is finished mainly; where and how I’d do this.

Key info

  • Using Appium and Python/Pytest
  • The app creates a Gigya account. The iOS version has a ‘DELETE ACCOUNT’ button which doesn’t seem to even work in the dev environment. The Android version doesn’t even have the button
  • the framework is fixture based if that’s of any relevance

Thanks for taking the time to read this.

I would try to either use a service API directly from the automation framework or to mock the external service completely as described in https://appiumpro.com/editions/26-making-your-appium-tests-fast-and-reliable-part-8-mocking-external-services

1 Like