Debugtopus is a tool to run Octomind tests against the local instance of your app. Octomind tests are AI auto-generated, hosted and run end-to-end tests in standard Playwright code in the cloud.
Here's some more info on octomind and more in the docs.
npm i @octomind/debugtopus
-t, --token <token>
- auth token to authorise against octomind app-tt, --testTargetId <test-target-id>
- ID of the test target you want to run against-u, --url <local-url>
- an url of your app you want the tests to be run against
-i, --id <test-case-id>
- ID of the test case you want to run locally - if not provided will run all test cases in the specified target-o, --octomindUrl <octo-url>
- defaults to production appapp.octomind.dev
. Used by octoneers to test against different environments
You should get the base command including id and token from octomind. You should just add the url of the app you would like to run the test against:
Running one test case:
npx @octomind/debugtopus --id <test-case-id> --token <token> --url <local-url> --testTargetid <testTargetid>
Running all test cases in a test target:
npx @octomind/debugtopus --token <token> --url <local-url> --testTargetid <testTargetid>
You can also use a specific version:
npx --package @octomind/debugtopus@<some-version> debugtopus --id <test-case-id> --token <token> --url <local-url> --testTargetid <testTargetid>
We use corepack and pnpm for our dependencies.
Enable corepack to let it manage pnpm and its version for you:
corepack enable
Then any time you reference pnpm
in your shell corepack will ensure the right version is installed.