As part of JIRA 7.2.0, the AUI library was upgraded from version 5.7.31 to 5.9.22.
This list does not include added/fixed functionality. See the full AUI Changelog.
AJS.messages
was being called. This has since been removed. AJS.messages.warning
will add .aui-message-warning
only, not .warning
.5.9.0 <aui-inline-dialog>
's isVisible()
, show()
, and hide()
have been removed. Use the open
property instead.5.9.0 <aui-inline-dialog>
's aui-layer-show
and aui-layer-hide
events have been removed. Use aui-show
and aui-hide
instead.box-sizing
and transition
5.9.0 AJS()
, AJS.filterBySearch()
, AJS.include()
, AJS.setVisible()
, AJS.setCurrent()
, and AJS.isVisible()
have been deprecated. Use jQuery or native alternatives instead.AJS.triggerEvt()
, AJS.bindEvt()
, and AJS.triggerEvtForInst()
) have been deprecated and moved to RESTful table.field.$el
has been deprecated. Use field.el
instead, which contains the native DOM element..aui-badge
class-based API for Badges has been deprecated. Use the <aui-badge>
web component API instead..properties
files to .js
files, for more modular consumption in plugins.require()
call to load them.5.9.0 <aui-inline-dialog2>
was renamed to <aui-inline-dialog>
.5.9.0 <aui-inline-dialog>
no longer needs a require()
call to load it.5.9.0 <aui-inline-dialog>
's persistent
attribute is now a boolean attribute..aui-dropdown2-checkbox
and .aui-dropdown2-radio
have had their isDisabled()
method replaced with isEnabled()
.<aui-inline-dialog>
.persistent
option has been removed (deprecated in 5.7.7). Update all usages of this option to use close
instead (see docs.atlassian.com/aui/5.8.0/flag.html).See the detailed notes at docs.atlassian.com/aui/latest/docs/upgrade-guide.html
You will need to compile against the latest version of JIRA in order to get updates to JIRA's page objects.
You will also need to ensure you use the latest testkit and atlassian-selenium versions.
Here are the minimum recommended versions of maven dependencies:
GroupId | ArtifactId | Version |
---|---|---|
com.atlassian.browsers | atlassian-browsers-auto | 2.8.1 |
com.atlassian.jira | atlassian-jira-pageobjects | (Same as your JIRA version) |
com.atlassian.jira | jira-api | (Same as your JIRA version) |
com.atlassian.jira | jira-func-test-plugin | (Same as your JIRA version) |
com.atlassian.jira.tests | jira-testkit-client | 7.2.3 |
com.atlassian.jira.tests | jira-testkit-plugin | 7.2.3 |
com.atlassian.selenium | atlassian-pageobjects-api | 2.4.0 |
com.atlassian.selenium | atlassian-pageobjects-elements | 2.4.0 |
com.atlassian.selenium | atlassian-webdriver-core | 2.4.0 |
com.google.code.gson | gson | 2.3.1 |
com.google.guava | guava | 18.0 |
org.apache.httpcomponents | httpclient | 4.4.1 |
org.apache.httpcomponents | httpcore | 4.4.1 |
Consult the AUI upgrade guide: docs.atlassian.com/aui/latest/docs/upgrade-guide.html
Some important things to note:
Ensure you are using the <aui-inline-dialog> web component, then:
This error can occur when either an AUI legacy Inline Dialog or dropdown is to be opened or closed.
Check that your <aui-inline-dialog> elements do NOT have a class of "aui-inline-dialog" added to them.
If the "aui-inline-dialog" CSS class is added to the element, AUI will treat the dialog like a legacy Inline Dialog component, whose API is incompatible with the new one.
The Google gson library is too old, along with the httpcomponents libraries.
You need a minimum of:
Once again, check your google gson version. Make sure it is >= 2.3.
Check further up your JIRA logs. You will probably see problems installing or initialising the TestKit and/or jira-func-test-plugin plugins.
You need to update the version of TestKit and the jira-func-test-plugin that gets installed with your integration tests.
Check your pom.xml and the configuration section for the maven-jira-plugin and ensure it is installing the latest versions.
Firebug may be getting in the way of your webdriver tests. To remedy, you can add a nofirebug maven profile to your test suite:
1 2<dependency> <groupId>com.atlassian.browsers</groupId> <artifactId>firefox-profile</artifactId> <version>44.0-nofirebug</version> </dependency>
Occasionally, animations of dialogs opening or closing may get in the way of your tests.
To circumvent this, you can use the AUIBlanket#waitUntilClosed helper from JIRA's page objects in your test body.
If flags are in your way,
Alternatively, if you do not care about any flags in your tests,
If your test class extends JIRA's BaseJiraWebTest class, or you use the JiraWebTestRules#forJira method to pull in rules, you will get these rules enabled automatically.
Flags are disabled by default in JIRA webdriver tests (if you are using the base JIRA test rules).
To enable flags in your class or individual test, use the @EnableAUIFlags annotation.
Rate this page: