This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-81fca9e6-078f-43a2-9a23-043ef56a6f67 XWIKI-22407 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-1acf1e84-ec71-4c9e-b7ae-e4ab92680d51 Ilie Andriuta created this issue on 08/Aug/24 13:48
 
Summary: Add automated test for "Show Page Comments Tab (No)"
Issue Type: cid:jira-generated-image-avatar-81fca9e6-078f-43a2-9a23-043ef56a6f67 Task
Affects Versions: 11.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 08/Aug/24 13:48
Priority: cid:jira-generated-image-static-major-1babc626-7fa9-489f-acde-400ffd0bb8fa Major
Reporter: Ilie Andriuta
Description:

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

The test checks if setting No for the 'Show page comments' 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-1acf1e84-ec71-4c9e-b7ae-e4ab92680d51 Changes by Ilie Andriuta on 08/Aug/24 13:48
 
Labels: testneeded