Details
-
Bug
-
Status: Closed
-
Resolution: Inactive
-
7.4.13 DXP U25, Master
-
None
-
3
-
Regression Bug
-
- LocalFile.2BAccount#AccountAdminCanAddBillingAddressToAccount
- LocalFile.2BAccount#AccountAdminCanSetDefaultShippingAddress
- LocalFile.Accounts#AddressesAreAccountSpecific
- LocalFile.Accounts#AddressesFilterCorrectlyDefaultAddress
- LocalFile.Accounts#CanAddNewAddressViaSetDefaultAddress
- LocalFile.Accounts#CanChangeAddressType
- LocalFile.Accounts#CanChangePaginationInAddressesList
- LocalFile.Accounts#CanDeleteAddress
- LocalFile.Accounts#CanDeleteAddressesInBulk
- LocalFile.Accounts#CanEditAddressFields
- LocalFile.Accounts#CanRemoveAddressAsDefault
- LocalFile.Accounts#CanSearchForAddressInAddressesTab
- LocalFile.Accounts#CanSetDefaultAddresses
- LocalFile.Accounts#CannotAddShippingAddressAsDefaultBilling
- LocalFile.Accounts#FilterAddressesByBillingType
- LocalFile.Accounts#FilterAddressesByShippingType
- LocalFile.CPUsergroups#AddUserGroupNameWithInvalidCharacters
-
63
Description
Accounts tests that add Addresses are failing through automation because of an ArrayIndexOutOfBoundsException.
Steps to reproduce (as noted by poshi steps) (unable to reproduce manually).
- Create a business account via JSON
- Go to Accounts Admin (Applications Menu -> Control Panel -> Accounts)
- Click into created account
- Go to addresses tab and begin adding in details.
Expected results: Automation test is able to fill out all desired inputs.
Actual Results: Automation test fails when trying to fill out any input that ends with a comma.
Our failing tests all have something similar to addressStreet1 = "537 Huangpu Road Taide Building," Removing the comma from the end allows test to continue normally without error.
Addresses that end in a comma can still be saved when done manually.
[exec] BUILD FAILED: 1 [exec] /opt/dev/projects/github/liferay-portal/modules/apps/account/account-test/src/testFunctional/macros/Accounts.macro[_inputAddressDetails]:22 [exec] /opt/dev/projects/github/liferay-portal/modules/apps/account/account-test/src/testFunctional/macros/Accounts.macro[addAddress]:106 [exec] /opt/dev/projects/github/liferay-portal/modules/apps/account/account-test/src/testFunctional/tests/Accounts.testcase[CanDeleteAddress]:1712 [exec] [exec] [exec] com.liferay.poshi.runner.PoshiRunner > test[LocalFile.Accounts#CanDeleteAddress] STANDARD_ERROR [exec] java.lang.ArrayIndexOutOfBoundsException: 1 [exec] at com.liferay.poshi.runner.selenium.BaseWebDriverImpl.moveToElement(BaseWebDriverImpl.java:4381)