Ghost’s original admin panel lives in the package ghost/admin and is written in Ember.js.

Whilst running EMBER_INCLUDE_TESTS=true pnpm dev in the top level folder you can access the Ember tests at: http://localhost:4200/tests

Accessing the test UI

When the dev server is started with the EMBER_INCLUDE_TESTS=true flag Ember’s testing UI will be available at http://localhost:4200/tests

Untitled

Filtering

You can filter the tests to run only specific tests by adding a grep to the URL e.g. http://localhost:4200/tests?grep=modal-import-members

You can also access the filtered test list by clicking on the title above any group of tests.

Pausing

The tests run very fast, so it can be hard to see what’s happening. If you need to, you can pause a test using:

await this.pauseTest();

You can also delay a test by adding

await timeout(5000);

This helps to inspect the UI.

Debugging Errors