Can't run wired tests from console

Description

Symptom

The IT console provided by AMPS displays correctly but gives an error when the user attempts to run a test.

Cause

This happens because the fastdev plugin no longer exists in modern versions of AMPS, and the IT console tries to send a REST request to that plugin.

Solution

The chosen solution is to remove the REST call to the missing fastdev plugin. The plugin developer is expected to keep the deployed plugins up-to-date by some other means, typically the Quick Reload plugin.

Environment

None

Testing Notes

Add notes...

Activity

Show:
Andrew S
June 10, 2020, 5:46 AM
Edited

This fix will be released in AMPS 8.1.1, however users should note that they may see no change, because of how AMPS decides which version of the test runner plugin to use:

  1. If your version overrides specify a version number for the atlassian-plugins-osgi-testrunner-bundle, AMPS will use that version, otherwise

  2. if your project has a dependency upon com.atlassian.plugins:atlassian-plugins-osgi-testrunner, which it very likely does in order to use the AtlassianPluginsTestRunner class, AMPS will use the version of that dependency, otherwise

  3. AMPS 8.1.1 and later will use version 2.0.2, which contains the fixed IT console.

To be on the safe side, go to the “Manage apps” page at/plugins/servlet/upm, and check which version of the Test Runner app is loaded. If it’s 2.0.1 or older, go through the logic described above to see why 2.0.2 or later is not being used. The most likely outcome is that you will need to bump the dependency listed in item 2, to 2.0.2 or later.

Fixed

Assignee

Andrew S

Reporter

Andrew S

Labels

None

Add-on Type

None

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Story point estimate

None

Components

Fix versions

Affects versions

Priority

Major