How to run UI test with PageObjects without starting Confluence every time

I have followed this tutorial:

https://seuqra.atlassian.net/wiki/spaces/ACDD/pages/1245194/Tutorial+-+Writing+integration+tests+for+Confluence+using+PageObjects

to write some UI tests for my plugin.

It works fine. However, it takes over 5 minutes each time because Confluence takes so much time to start up.

This tutorial:

https://developer.atlassian.com/server/framework/atlassian-sdk/run-wired-tests-with-the-plugin-test-console/

describes how to run wired tests within a running instance that has been started with atlas-debug.

Can the same be done for UI tests that use PageObjects as described in the first tutorial?

The tutorial is using the amps sdk command atlas-integration-test. But you can simply run atlas-debug to start the instance, and run the tests from your IDE directly (for intellij, here is the docs for creating tests in a package https://www.jetbrains.com/help/idea/creating-run-debug-configuration-for-tests.html).