ViewPortletLookAndFeelTest
open /group/joebloggs/home/
waitForElementPresent link=Activities Test Page Activities Test Page
clickAtAndWait link=Activities Test Page Activities Test Page
assertText //strong/a Options
clickAt //strong/a Options
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[1]/a Look and Feel
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[1]/a Look and Feel
click //div[@class='lfr-component lfr-menu-list']/ul/li[1]/a Look and Feel
waitForVisible link=Portlet Configuration Portlet Configuration
clickAt link=Portlet Configuration Portlet Configuration
waitForVisible //input[@id='_113_custom-title'] Custom Title
waitForValue //input[@id='_113_custom-title'] Activities
assertValue //input[@id='_113_custom-title'] Activities
assertSelectedLabel //select[@id='_113_lfr-portlet-language'] English (United States)
assertNotChecked //input[@id='_113_use-custom-titleCheckbox'] Use Custom Title
assertSelectedLabel //select[@id='_113_lfr-point-links'] Current Page
assertChecked //input[@id='_113_show-bordersCheckbox'] Show Borders
clickAt link=Text Styles Text Styles
waitForVisible //select[@id='_113_lfr-font-family'] Font
assertText //select[@id='_113_lfr-font-family'] Arial Georgia Times New Roman Tahoma Trebuchet MS Verdana
assertText //select[@id='_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 //input[@id='_113_lfr-font-boldCheckbox'] Bold
assertNotChecked //input[@id='_113_lfr-font-italicCheckbox'] Italic
assertText //select[@id='_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 //select[@id='_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 //select[@id='_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 //input[@id='_113_lfr-font-color']
assertText //select[@id='_113_lfr-font-align'] Justify Left Right Center
assertText //select[@id='_113_lfr-font-decoration'] None Underline Overline Strikethrough
clickAt link=Background Styles Background Styles
waitForVisible //input[@id='_113_lfr-bg-color'] Background Color
assertValue //input[@id='_113_lfr-bg-color']
clickAt link=Border Styles Border Styles
waitForVisible //legend/span Border Width
assertText //legend/span Border Width
assertText //div[2]/div/fieldset/legend/span Border Style
assertText //div[3]/div/fieldset/legend/span Border Color
assertChecked //input[@id='_113_lfr-use-for-all-widthCheckbox'] Same for All BW
assertChecked //input[@id='_113_lfr-use-for-all-styleCheckbox'] Same for All BS
assertChecked //input[@id='_113_lfr-use-for-all-colorCheckbox'] Same for All BC
assertValue //input[@id='_113_lfr-border-width-top']
assertText //select[@id='_113_lfr-border-width-top-unit'] % px em
assertText //select[@id='_113_lfr-border-style-top'] Dashed Double Dotted Groove Hidden Inset Outset Ridge Solid
assertValue //input[@id='_113_lfr-border-color-top']
clickAt link=Margin and Padding Margin and Padding
waitForVisible //fieldset[5]/div/div/div/div[1]/div/fieldset/legend/span Padding
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 //input[@id='_113_lfr-use-for-all-paddingCheckbox'] Same for All Padding
assertChecked //input[@id='_113_lfr-use-for-all-marginCheckbox'] Same for All Margin
assertValue //input[@id='_113_lfr-padding-top']
assertText //select[@id='_113_lfr-padding-top-unit'] % px em
assertValue //input[@id='_113_lfr-margin-top']
assertText //select[@id='_113_lfr-margin-top-unit'] % px em
clickAt link=Advanced Styling Advanced Styling
waitForVisible //p[@id='lfr-portlet-info'] Portlet Info
assertText //p[@id='lfr-portlet-info'] Your current portlet information is as follows::
Portlet ID: #portlet_116
Portlet Classes: .portlet
assertValue //textarea[@id='_113_lfr-custom-css']
assertText //a[@id='lfr-add-id'] Add a CSS rule for just this portlet.
assertText //a[@id='lfr-add-class'] Add a CSS rule for all portlets like this one.
assertNotChecked //input[@id='lfr-update-on-type'] Update my styles as I type.
clickAt link=WAP Styling WAP Styling
waitForVisible //input[@id='_113_lfr-wap-title'] Title
assertValue //input[@id='_113_lfr-wap-title']
assertText //select[@id='_113_lfr-wap-initial-window-state'] Minimized Normal