zrcadlo
https://github.com/vaadin/framework.git
synchronizováno 2024-08-18 02:11:31 +02:00
![Artur Signell](/assets/img/avatar_default.png)
This avoids running other HTML files as TB2 tests Change-Id: I32445aeaeaf77f3a34771db6fa0d2eb40fc60ff7
98 řádky
3.6 KiB
HTML
98 řádky
3.6 KiB
HTML
<?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>ColumnCollapsingAndColumnExpansion</title>
|
|
</head>
|
|
<body>
|
|
<table cellpadding="1" cellspacing="1" border="1">
|
|
<thead>
|
|
<tr><td rowspan="1" colspan="3">ColumnCollapsingAndColumnExpansion</td></tr>
|
|
</thead><tbody>
|
|
<tr>
|
|
<td>open</td>
|
|
<td>/run/com.vaadin.tests.components.table.ColumnCollapsingAndColumnExpansion?restartApplication</td>
|
|
<td></td>
|
|
</tr>
|
|
<!--Initial state, all 3 columns visible-->
|
|
<tr>
|
|
<td>screenCapture</td>
|
|
<td></td>
|
|
<td>col1-col2-col3-visible</td>
|
|
</tr>
|
|
<tr>
|
|
<td>click</td>
|
|
<td>vaadin=runcomvaadintestscomponentstableColumnCollapsingAndColumnExpansion::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/domChild[0]/domChild[1]</td>
|
|
<td></td>
|
|
</tr>
|
|
<!--Hide 'col2' through table interface-->
|
|
<tr>
|
|
<td>mouseClick</td>
|
|
<td>//tr[2]/td/span/div</td>
|
|
<td>23,2</td>
|
|
</tr>
|
|
<tr>
|
|
<td>screenCapture</td>
|
|
<td></td>
|
|
<td>col2-hidden</td>
|
|
</tr>
|
|
<!--Hide 'Col1' using button-->
|
|
<tr>
|
|
<td>enterCharacter</td>
|
|
<td>vaadin=runcomvaadintestscomponentstableColumnCollapsingAndColumnExpansion::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VHorizontalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td>
|
|
<td>Col1</td>
|
|
</tr>
|
|
<tr>
|
|
<td>click</td>
|
|
<td>vaadin=runcomvaadintestscomponentstableColumnCollapsingAndColumnExpansion::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VHorizontalLayout[0]/ChildComponentContainer[1]/VButton[0]/domChild[0]/domChild[0]</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>screenCapture</td>
|
|
<td></td>
|
|
<td>col1-col2-hidden</td>
|
|
</tr>
|
|
<!--Show 'col2' using action handler-->
|
|
<tr>
|
|
<td>contextmenu</td>
|
|
<td>vaadin=runcomvaadintestscomponentstableColumnCollapsingAndColumnExpansion::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VScrollTable[0]/domChild[1]/domChild[0]/domChild[1]/domChild[0]/domChild[2]/domChild[0]/domChild[0]</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mouseClick</td>
|
|
<td>vaadin=runcomvaadintestscomponentstableColumnCollapsingAndColumnExpansion::/VContextMenu[0]#option0</td>
|
|
<td>11,6</td>
|
|
</tr>
|
|
<tr>
|
|
<td>enterCharacter</td>
|
|
<td>vaadin=runcomvaadintestscomponentstableColumnCollapsingAndColumnExpansion::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VHorizontalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td>
|
|
<td>Col2</td>
|
|
</tr>
|
|
<tr>
|
|
<td>screenCapture</td>
|
|
<td></td>
|
|
<td>col1-hidden</td>
|
|
</tr>
|
|
<!--Show 'Col1' using button-->
|
|
<tr>
|
|
<td>enterCharacter</td>
|
|
<td>vaadin=runcomvaadintestscomponentstableColumnCollapsingAndColumnExpansion::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VHorizontalLayout[0]/ChildComponentContainer[0]/VTextField[0]</td>
|
|
<td>Col1</td>
|
|
</tr>
|
|
<tr>
|
|
<td>click</td>
|
|
<td>vaadin=runcomvaadintestscomponentstableColumnCollapsingAndColumnExpansion::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VHorizontalLayout[0]/ChildComponentContainer[2]/VButton[0]/domChild[0]/domChild[0]</td>
|
|
<td></td>
|
|
</tr>
|
|
<!--We should now be back at the initial state, all 3 columns visible-->
|
|
<tr>
|
|
<td>screenCapture</td>
|
|
<td></td>
|
|
<td>col1-col2-col3-visible-again</td>
|
|
</tr>
|
|
</tbody></table>
|
|
</body>
|
|
</html>
|