This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-110cd8be-0e19-4c8e-98a1-2b9c3b4aa1c2 XWIKI-22408 Open

Add automated test for "Show Page History Tab (No)"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-a0d73b2e-37f5-4328-b3d7-46a2d8d9c1bd Ilie Andriuta created this issue on 08/Aug/24 13:52
 
Summary: Add automated test for "Show Page History Tab (No)"
Issue Type: cid:jira-generated-image-avatar-110cd8be-0e19-4c8e-98a1-2b9c3b4aa1c2 Task
Affects Versions: 11.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 08/Aug/24 13:52
Priority: cid:jira-generated-image-static-major-edf067ac-211a-4567-b0c7-6fb2a4750c03 Major
Reporter: Ilie Andriuta
Description:

The manual test is here: Show Page History Tab (No)

The test checks if setting No for the 'Show page history' from the Administration > Look & Feel > Presentation > Page Tabs works properly (tab is hidden).

 
Matrix discussion: https://matrix.to/#/!ikPtGZaGWtyblizzlR:matrix.xwiki.com/$1723105704251DiSRW:matrix.xwiki.com?via=matrix.org&via=matrix.xwiki.com&via=helsinki-systems.de

Ilie Andriuta: ** Hi! Continuing the manual tests migration, there are some tests about checking if setting Yes/No for the options from the Administration > Look & Feel > Presentation > Page Tabs works properly (tabs are shown/ hidden):

https://test.xwiki.org/xwiki/bin/view/Administration%20Tests/Show%20Document%20Annotations%20Tab (set Yes, tab will be shown))
https://test.xwiki.org/xwiki/bin/view/Administration%20Tests/Show%20Document%20Attachments%20Tab (set No, tab will be hidden)
https://test.xwiki.org/xwiki/bin/view/Administration%20Tests/Show%20Document%20Comments%20Tab (set No, tab will be hidden)
https://test.xwiki.org/xwiki/bin/view/Administration%20Tests/Show%20Document%20History%20Tab (set No, tab will be hidden)
https://test.xwiki.org/xwiki/bin/view/Administration%20Tests/Show%20Document%20Information%20Tab (set No, tab will be hidden)
I've checked https://github.com/xwiki/xwiki-platform/blob/603d4fce79f06adc8b4514e731eaa7f2bc2ae764/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-docker/src/test/it/org/xwiki/administration/test/ui/AdministrationIT.java but it seems I didn't find automated tests for the Presentation section. Can you please confirm?

Thanks!

Vincent Massol: checking

Vincent Massol: Ilie Andriuta: Can't find any test for these Admin UI settings
Ilie Andriuta: ok, thanks, I'll create tasks for them
should I create one task for all or a task for each one?
Thomas@tmortagne:matrix.xwiki.com: if they are all about a different tab, I would create separated issues (we might want to test different tabs in different test classes depending on the domain)
Ilie Andriuta: yes, each test is for a different tab
I'll create separate tasks in this case
thanks, Thomas (@tmortagne:matrix.xwiki.com)!

 
 

1 update

 
cid:jira-generated-image-avatar-a0d73b2e-37f5-4328-b3d7-46a2d8d9c1bd Changes by Ilie Andriuta on 08/Aug/24 13:52
 
Labels: testneeded