Commit fcdc55df authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Selenium test for creating a new skin



Change-Id: I90f476aabaa8216d24f9dc3bab382e06511e9202
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
Signed-off-by: Aaron Wells's avatarAaron Wells <aaronw@catalyst.net.nz>
parent 83023837
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>Skins_add</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Skins_add</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td></td>
<td></td>
</tr>
<tr>
<td>setSpeed</td>
<td>500</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Portfolio</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Skins</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@value='Create skin']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>viewskin_title</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>viewskin_title</td>
<td>Skin one</td>
</tr>
<tr>
<td>type</td>
<td>viewskin_description</td>
<td>This is a test skin</td>
</tr>
<tr>
<td>select</td>
<td>viewskin_access</td>
<td>value=private</td>
</tr>
<tr>
<td>click</td>
<td>link=Skin background</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>body_background_color_color</td>
<td>#deface</td>
</tr>
<tr>
<td>fireEvent</td>
<td>body_background_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>select</td>
<td>body_background_repeat</td>
<td>value=2</td>
</tr>
<tr>
<td>check</td>
<td>//input[@name='body_background_attachment'][@value='fixed']</td>
<td></td>
</tr>
<tr>
<td>check</td>
<td>//input[@name='body_background_position'][@value='5']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Page background</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>view_background_color_color</td>
<td>#facade</td>
</tr>
<tr>
<td>fireEvent</td>
<td>view_background_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>select</td>
<td>view_background_repeat</td>
<td>value=2</td>
</tr>
<tr>
<td>check</td>
<td>//input[@name='view_background_attachment'][@value='fixed']</td>
<td></td>
</tr>
<tr>
<td>check</td>
<td>//input[@name='view_background_position'][@value='9']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Page header</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>header_background_color_color</td>
<td>#0000aa</td>
</tr>
<tr>
<td>fireEvent</td>
<td>header_background_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>type</td>
<td>header_text_font_color_color</td>
<td>#0000bb</td>
</tr>
<tr>
<td>fireEvent</td>
<td>header_text_font_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>type</td>
<td>header_link_normal_color_color</td>
<td>#0000cc</td>
</tr>
<tr>
<td>fireEvent</td>
<td>header_link_normal_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>check</td>
<td>//input[@name='header_link_normal_underline']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>header_link_hover_color_color</td>
<td>#0000dd</td>
</tr>
<tr>
<td>fireEvent</td>
<td>header_link_hover_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>check</td>
<td>//input[@name='header_link_hover_underline']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Page fonts and colours</td>
<td></td>
</tr>
<tr>
<td>select</td>
<td>view_heading_font_family</td>
<td>value=Georgia</td>
</tr>
<tr>
<td>select</td>
<td>view_text_font_family</td>
<td>value=Tahoma</td>
</tr>
<tr>
<td>select</td>
<td>view_text_font_size</td>
<td>value=medium</td>
</tr>
<tr>
<td>type</td>
<td>view_text_font_color_color</td>
<td>#00aa00</td>
</tr>
<tr>
<td>fireEvent</td>
<td>view_text_font_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>type</td>
<td>view_text_heading_color_color</td>
<td>#00bb00</td>
</tr>
<tr>
<td>fireEvent</td>
<td>view_text_heading_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>type</td>
<td>view_text_emphasized_color_color</td>
<td>#00cc00</td>
</tr>
<tr>
<td>fireEvent</td>
<td>view_text_emphasized_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>type</td>
<td>view_link_normal_color_color</td>
<td>#00dd00</td>
</tr>
<tr>
<td>fireEvent</td>
<td>view_link_normal_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>check</td>
<td>//input[@name='view_link_normal_underline']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>view_link_hover_color_color</td>
<td>#00ee00</td>
</tr>
<tr>
<td>fireEvent</td>
<td>view_link_hover_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>check</td>
<td>//input[@name='view_link_hover_underline']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Page tables and buttons</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>view_table_border_color_color</td>
<td>#aa0000</td>
</tr>
<tr>
<td>fireEvent</td>
<td>view_table_border_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>type</td>
<td>view_table_header_color_color</td>
<td>#bb0000</td>
</tr>
<tr>
<td>fireEvent</td>
<td>view_table_header_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>type</td>
<td>view_table_header_text_color_color</td>
<td>#cc0000</td>
</tr>
<tr>
<td>fireEvent</td>
<td>view_table_header_text_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>type</td>
<td>view_table_odd_row_color_color</td>
<td>#dd0000</td>
</tr>
<tr>
<td>fireEvent</td>
<td>view_table_odd_row_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>type</td>
<td>view_table_even_row_color_color</td>
<td>#ee0000</td>
</tr>
<tr>
<td>fireEvent</td>
<td>view_table_even_row_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>type</td>
<td>view_button_normal_color_color</td>
<td>#330000</td>
</tr>
<tr>
<td>fireEvent</td>
<td>view_button_normal_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>type</td>
<td>view_button_hover_color_color</td>
<td>#660000</td>
</tr>
<tr>
<td>fireEvent</td>
<td>view_button_hover_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>type</td>
<td>view_button_text_color_color</td>
<td>#990000</td>
</tr>
<tr>
<td>fireEvent</td>
<td>view_button_text_color_color</td>
<td>blur</td>
</tr>
<tr>
<td>click</td>
<td>link=Advanced</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>view_custom_css</td>
<td>.footer-nav { background-color: #123456; }</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>id=designskinform_submit</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
Login_Admin
Skins_add
Logout_User
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment