User tests: Successful: Unsuccessful:
Everywhere that we have an empty trash button it asks you to confirm before the trash is emptied as this is a destructive change.
Fields was missing this.
Create and trash a field
Filter the fields by status trashed
select the field
click on empty trash inn the toolbar
fields are immediately deleted
popup message is displayed to confirm before deletion
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_fields |
Will try to get someone to advise with the system tests.
The system test needs to be adapted of fields. Something like here shuould probably work https://github.com/joomla/joomla-cms/blob/4.1-dev/tests/Codeception/_support/Step/Acceptance/Administrator/Content.php#L229.
will take a look this afternoon
@brianteeman I think it needs to replace this line here
by these 2 lines:
$I->wait(2);
$I->acceptPopup();
Labels |
Added:
?
|
Category | Administration com_fields | ⇒ | Administration com_fields Unit Tests |
It seems to work.
This PR brings the behaviour of Empty Trash in Fields to be consistent with all other uses. The test has also been updated to be consistent with all the other tests for Empty Trash.
If the test is incomplete then it is incomplete eveyrwhere and should be updated in its own pull request.
This PR brings the behaviour of Empty Trash in Fields to be consistent with all other uses. The test has also been updated to be consistent with all the other tests for Empty Trash.
If the test is incomplete then it is incomplete eveyrwhere and should be updated in its own pull request.
I would be ok with that.
I have tested this item
Tested successfully in Joomla 4.1.3-dev of 25 April.
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
|
Labels |
Added:
?
|
Previous human test results and RTC status are still valid since the commit after that only changed the system tests, which are still passing.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-04-30 02:51:18 |
Closed_By | ⇒ | bembelimen | |
Labels |
Added:
Maintainers Checked
|
Thx
thanks
@brianteeman The system tests are failing for this PR, and I think it could be related to your changes so the tests might need some changes, too. See the log here https://ci.joomla.org/joomla/joomla-cms/53603/1/30 :
The screenshot then looks like this: https://ci.joomla.org/artifacts/joomla/joomla-cms/4.1-dev/37650/system-tests/53603/ContentFieldListCest.Field.mysql.fail.png