ViewPortletLookAndFeelTest
open /web/guest/home/
waitForElementPresent link=Amazon Rankings Test Page
clickAtAndWait link=Amazon Rankings Test Page
waitForVisible //strong/span
clickAt //strong/span
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 //legend
assertText //legend Portlet Configuration
assertValue custom-title
assertSelectedLabel lfr-portlet-language English (United States)
assertSelectedLabel lfr-point-links Current Page
assertNotChecked use-custom-title-checkbox
assertChecked show-borders
waitForVisible link=Text Styles
clickAt link=Text Styles
waitForVisible //fieldset[2]/legend
assertText //fieldset[2]/legend Text Styles
assertText lfr-font-family Arial Georgia Times New Roman Tahoma Trebuchet MS Verdana
assertText 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 1em
assertChecked lfr-font-bold
assertChecked lfr-font-italic
assertText 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 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 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 lfr-font-color
assertText lfr-font-align Justify Left Right Center
assertText lfr-font-decoration None Underline Overline Strikethrough
waitForVisible link=Background Styles
clickAt link=Background Styles
waitForVisible //fieldset[3]/legend
assertText //fieldset[3]/legend Background Styles
assertValue lfr-bg-color
waitForVisible link=Border Styles
clickAt link=Border Styles
waitForVisible //fieldset[4]/legend
assertText //fieldset[4]/legend Border Styling
assertText //fieldset[4]/fieldset[1]/legend Border Width
assertText //fieldset[4]/fieldset[2]/legend Border Style
assertText //fieldset[4]/fieldset[3]/legend Border Color
assertChecked lfr-use-for-all-width
assertChecked lfr-use-for-all-style
assertChecked lfr-use-for-all-color
assertValue lfr-border-width-top
assertText lfr-border-width-top-unit % px em
assertText lfr-border-style-top Dashed Double Dotted Groove Hidden Inset Outset Ridge Solid
assertValue lfr-border-color-top
waitForVisible link=Margin and Padding
clickAt link=Margin and Padding
waitForVisible //fieldset[5]/legend
assertText //fieldset[5]/legend Spacing
assertText //fieldset[5]/fieldset[1]/legend Padding
assertText //fieldset[5]/fieldset[2]/legend Margin
assertChecked lfr-use-for-all-padding
assertChecked lfr-use-for-all-margin
assertValue lfr-padding-top
assertText lfr-padding-top-unit % px em
assertValue lfr-margin-top
assertText lfr-margin-top-unit % px em
waitForVisible link=Advanced Styling
clickAt link=Advanced Styling
waitForVisible //fieldset[6]/legend
assertText //fieldset[6]/legend Advanced CSS Styling
assertText lfr-portlet-info Your current portlet information is as follows::
Portlet ID: #portlet-wrapper-67
Portlet Classes: .portlet
assertValue 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
assertText //p[2]/a Update the styles on this page.
waitForVisible link=WAP Styling
clickAt link=WAP Styling
waitForVisible //fieldset[7]/legend
assertText //fieldset[7]/legend WAP Styling
assertValue lfr-wap-title
assertText lfr-wap-initial-window-state Minimized Normal