Here's a quick checklist:

  1. both WooCommerce 3.0+ and Robot Ninja Helper plugins are activated
  2. the Robot Ninja test customer/user (username robotninja_{id}) exists on your store
  3. an active and working REST API connection
  4. Robot Ninja API keys haven't been removed/revoked

Staging/development environments

If you are running Robot Ninja on a staging/dev site where the database is regularly wiped or kept in sync across multiple environments then it's likely we will have lost some the requirements needed to run tests on Robot Ninja.

If this has happened to you, please get in contact us to discuss the best way to fix this and avoid any future occurrences (documentation coming soon).

Active Plugin and Version Requirements

Robot Ninja Test Customer

When you connect a store to Robot Ninja a test customer is automatically created with the following data:

Username*: robotninja_{id} ( {id} is the store ID in Robot Ninja)
Email*        : store+{id}@robotninja.com
Password* : random generated password
Address     : 959 Market St, San Francisco CA, 94103, US
Phone        : (555) 555-5555

Robot Ninja relies on some of this data (marked with *) during the tests so it's important our test customer is left intact on the store. The data marked with * is used by Robot Ninja to:

  • test existing/returning customers can log in
  • test adding products to the cart as an existing or returning customer
  • test completing the checkout as an existing or returning customer
  • assist with finding test orders that were created during our tests

How to check if the Robot Ninja test customer exists on your store?

From your WordPress dashboard go into the Users menu item. Once the users table has loaded use the search field to look for a user with: robotninja_ .

This will find any of our test customers on your store.

What if this customer no longer exists and/or was removed?

Send us a message! 📩

If the customer was accidentally removed by a store manager or admin then we can simply create a new test customer for you.

If our test customer was removed or wiped as part of recent sync/pull-down from another environment/database, please get in contact with us so we can discuss ways to avoid this issue reappearing next time (documentation coming soon).

An Active API Connection

Robot Ninja uses the WooCommerce v2 REST API to talk to your store during the tests (read more). Because of this we require that your store has:

  • No active plugins that disable the REST API
  • Working API keys for Robot Ninja to talk to your WooCommerce store

When you connect a store to Robot Ninja, the final step is to authorize Robot Ninja to talk to your store. What this is doing is generating unique access tokens that we can use to talk to your store and it's important these keys are left untouched (unless you are no longer using Robot Ninja of course 😿)

How to check if your store has Robot Ninja API keys?

From the WordPress admin dashboard go into WooCommerce > Settings > Advanced (tab) > REST API (tab), once here you should see a table of API keys.

One of these rows should have the description starting with "RobotNinja".

What if the API keys were revoked or no longer exists?

The best thing to do is send us a message! 📩

If you don't have any issues with starting fresh and wiping your test history, you can simply trash the store from the Manage Stores page and then add it again to create new keys.

If these API keys were wiped (or overridden) from a recent sync/pull-down from another environment/database, please get in contact with us so we can discuss ways to avoid this issue reappearing next time (documentation coming soon).

Did this answer your question?