ViewPortletLookAndFeelTest
open /web/guest/home/
waitForVisible link=Amazon Rankings Test Page
clickAtAndWait link=Amazon Rankings Test Page
waitForElementPresent //strong/a
clickAt //strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Look and Feel
click //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a
waitForVisible link=Portlet Configuration
clickAt link=Portlet Configuration
waitForVisible _113_custom-title
assertValue _113_custom-title Amazon Rankings
assertSelectedLabel _113_lfr-portlet-language English (United States)
assertNotChecked _113_use-custom-titleCheckbox
assertSelectedLabel _113_lfr-point-links Current Page
assertChecked _113_show-bordersCheckbox
waitForVisible link=Text Styles
clickAt link=Text Styles
waitForVisible _113_lfr-font-family
assertText _113_lfr-font-family Arial Georgia Times New Roman Tahoma Trebuchet MS Verdana
assertText _113_lfr-font-space -1em -0.95em -0.9em -0.85em -0.8em -0.75em -0.7em -0.65em -0.6em -0.55em -0.5em -0.45em -0.4em -0.35em -0.3em -0.25em -0.2em -0.15em -0.1em -0.05em Normal 0.05em 0.1em 0.15em 0.2em 0.25em 0.3em 0.35em 0.4em 0.45em 0.5em 0.55em 0.6em 0.65em 0.7em 0.75em 0.8em 0.85em 0.9em 0.95em
assertNotChecked _113_lfr-font-boldCheckbox
assertNotChecked _113_lfr-font-italicCheckbox
assertText _113_lfr-font-leading 0.1em 0.2em 0.3em 0.4em 0.5em 0.6em 0.7em 0.8em 0.9em 1em 1.1em 1.2em 1.3em 1.4em 1.5em 1.6em 1.7em 1.8em 1.9em 2em 2.1em 2.2em 2.3em 2.4em 2.5em 2.6em 2.7em 2.8em 2.9em 3em 3.1em 3.2em 3.3em 3.4em 3.5em 3.6em 3.7em 3.8em 3.9em 4em 4.1em 4.2em 4.3em 4.4em 4.5em 4.6em 4.7em 4.8em 4.9em 5em 5.1em 5.2em 5.3em 5.4em 5.5em 5.6em 5.7em 5.8em 5.9em 6em 6.1em 6.2em 6.3em 6.4em 6.5em 6.6em 6.7em 6.8em 6.9em 7em 7.1em 7.2em 7.3em 7.4em 7.5em 7.6em 7.7em 7.8em 7.9em 8em 8.1em 8.2em 8.3em 8.4em 8.5em 8.6em 8.7em 8.8em 8.9em 9em 9.1em 9.2em 9.3em 9.4em 9.5em 9.6em 9.7em 9.8em 9.9em 10em 10.1em 10.2em 10.3em 10.4em 10.5em 10.6em 10.7em 10.8em 10.9em 11em 11.1em 11.2em 11.3em 11.4em 11.5em 11.6em 11.7em 11.8em 11.9em 12em
assertText _113_lfr-font-size 0.1em 0.2em 0.3em 0.4em 0.5em 0.6em 0.7em 0.8em 0.9em 1em 1.1em 1.2em 1.3em 1.4em 1.5em 1.6em 1.7em 1.8em 1.9em 2em 2.1em 2.2em 2.3em 2.4em 2.5em 2.6em 2.7em 2.8em 2.9em 3em 3.1em 3.2em 3.3em 3.4em 3.5em 3.6em 3.7em 3.8em 3.9em 4em 4.1em 4.2em 4.3em 4.4em 4.5em 4.6em 4.7em 4.8em 4.9em 5em 5.1em 5.2em 5.3em 5.4em 5.5em 5.6em 5.7em 5.8em 5.9em 6em 6.1em 6.2em 6.3em 6.4em 6.5em 6.6em 6.7em 6.8em 6.9em 7em 7.1em 7.2em 7.3em 7.4em 7.5em 7.6em 7.7em 7.8em 7.9em 8em 8.1em 8.2em 8.3em 8.4em 8.5em 8.6em 8.7em 8.8em 8.9em 9em 9.1em 9.2em 9.3em 9.4em 9.5em 9.6em 9.7em 9.8em 9.9em 10em 10.1em 10.2em 10.3em 10.4em 10.5em 10.6em 10.7em 10.8em 10.9em 11em 11.1em 11.2em 11.3em 11.4em 11.5em 11.6em 11.7em 11.8em 11.9em 12em
assertText _113_lfr-font-tracking -10px -9px -8px -7px -6px -5px -4px -3px -2px -1px 0 1px 2px 3px 4px 5px 6px 7px 8px 9px 10px 11px 12px 13px 14px 15px 16px 17px 18px 19px 20px 21px 22px 23px 24px 25px 26px 27px 28px 29px 30px 31px 32px 33px 34px 35px 36px 37px 38px 39px 40px 41px 42px 43px 44px 45px 46px 47px 48px 49px 50px
assertValue _113_lfr-font-color
assertText _113_lfr-font-align Justify Left Right Center
assertText _113_lfr-font-decoration None Underline Overline Strikethrough
waitForVisible link=Background Styles
clickAt link=Background Styles
waitForVisible _113_lfr-bg-color
assertValue _113_lfr-bg-color
waitForVisible link=Border Styles
clickAt link=Border Styles
waitForVisible //legend/span
assertText //legend/span Border Width
assertText //div[2]/div/fieldset/legend/span Border Style
assertText //div[3]/div/fieldset/legend/span Border Color
assertChecked _113_lfr-use-for-all-widthCheckbox
assertChecked _113_lfr-use-for-all-styleCheckbox
assertChecked _113_lfr-use-for-all-colorCheckbox
assertValue _113_lfr-border-width-top
assertText _113_lfr-border-width-top-unit % px em
assertText _113_lfr-border-style-top Dashed Double Dotted Groove Hidden Inset Outset Ridge Solid
assertValue _113_lfr-border-color-top
waitForVisible link=Margin and Padding
clickAt link=Margin and Padding
waitForVisible //fieldset[5]/div/div/div/div[1]/div/fieldset/legend/span
assertText //fieldset[5]/div/div/div/div[1]/div/fieldset/legend/span Padding
assertText //fieldset[5]/div/div/div/div[2]/div/fieldset/legend/span Margin
assertChecked _113_lfr-use-for-all-paddingCheckbox
assertChecked _113_lfr-use-for-all-marginCheckbox
assertValue _113_lfr-padding-top
assertText _113_lfr-padding-top-unit % px em
assertValue _113_lfr-margin-top
assertText _113_lfr-margin-top-unit % px em
waitForVisible link=Advanced Styling
clickAt link=Advanced Styling
waitForVisible lfr-portlet-info
waitForVisible _113_lfr-custom-css-class-name
assertText lfr-portlet-info Your current portlet information is as follows::
Portlet ID: #portlet_67
Portlet Classes: .portlet
assertValue _113_lfr-custom-css-class-name
assertValue _113_lfr-custom-css
assertText lfr-add-id Add a CSS rule for just this portlet.
assertText lfr-add-class Add a CSS rule for all portlets like this one.
assertNotChecked lfr-update-on-type
waitForVisible link=WAP Styling
clickAt link=WAP Styling
waitForVisible _113_lfr-wap-title
assertValue _113_lfr-wap-title
assertText _113_lfr-wap-initial-window-state Minimized Normal