joomla-projects / GSOC-Webdriver_system_tests_for_CMS

[READ-ONLY] This repo is no longer in active development. Please see https://github.com/joomla/joomla-cms | REPOSITORY NOT ANYMORE IN USE, see readme
https://github.com/joomla-projects/GSOC-Webdriver_system_tests_for_CMS/blob/staging/README.md
GNU General Public License v2.0
0 stars 3 forks source link

Test Single Article menu item options #2

Closed javigomez closed 9 years ago

javigomez commented 10 years ago

Test all the options available in a menu item and make sure they work ads expected:

screen shot 2014-05-15 at 13 19 35

kshitijSharma2014 commented 10 years ago

@javigomez @puneet0191 @gunjanpatel The tests I have written is on the options present in MenuItems and not on the options present in content->article

Which one I have to make? Did I do what you wanted me to do javier or have I done something else?

kshitijSharma2014 commented 10 years ago

second thing in options Tab in Article Manager when I set 'Show Titlle' to HIDE even then it does hide the title on the front end I can see it.

@javigomez @puneet0191

javigomez commented 10 years ago

The options are hierarchical. Always from more general to less general:

if you set to HIDE title in menu item and SHOW in article: title will be shown if you set to SHOW title in menu item and HIDE in article: title will be hidden if you set to SHOW title in global configuration and HIDE in article: title will be hidden ... Do I explain what I mean

kshitijSharma2014 commented 10 years ago

yeah @javigomez I got your point Thank you :)

kshitijSharma2014 commented 10 years ago

@javigomez also I wanted to ask that the test which you wanted me to do, was it the options in menuitems Manager or the article Manager?

puneet0191 commented 10 years ago

Kshitij can you very what Javi told, and see if we can accommodate tests involving these options

kshitijSharma2014 commented 10 years ago

@puneet0191 do you mean tests to check the hierarchical order?

Yeah sure!!

Bakual commented 10 years ago

Actually, the single article menu item works a bit different. If the menu item matches the article displayed, then the menu item is considered more specific and overrides the article settings. In all other cases, the article settings override the menu settings.

kshitijSharma2014 commented 10 years ago

@Bakual thanks for your input. :)

javigomez commented 10 years ago

yes sorry. Thanks @Bakual.

puneet0191 commented 9 years ago

@javigomez Is this issue still not covered? I remember merging one PR from @kshitijSharma2014 addressing this issue

kshitijSharma2014 commented 9 years ago

@puneet0191 let me check in the code if this test is present.