Skip to main content

Neptune Software

TestFairy for Neptune plugin allows you to integrate TestFairy functionality into your Neptune project. By following the steps below, you can enable the TestFairy plugin and initialize the TestFairy SDK in your Neptune application.

Enable the TestFairy Plugin

To enable the TestFairy plugin in your Neptune project, follow these steps:

  1. Open the Neptune Cockpit.
  2. Add the following to the config.xml file in the Neptune Cockpit under Run > Mobile Client > Device:
<plugin name="com.testfairy.cordova-plugin" source="npm"/>

Initialize the TestFairy SDK:

After enabling the TestFairy plugin, you need to initialize the TestFairy SDK in your Neptune application. Follow these steps:

  1. Open the App Designer in Neptune.
  2. Add the following code to your init script:
document.addEventListener("deviceready", function() {
TestFairy.begin("APP TOKEN");
});
note

Ensure that you replace APP TOKEN with your actual TestFairy app token. You can find the app token in your TestFairy User Preferences.