aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/resources/sourceCode/HighlightingTest/symbol-usages-highlighting.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/test/resources/sourceCode/HighlightingTest/symbol-usages-highlighting.html')
-rw-r--r--tests/src/test/resources/sourceCode/HighlightingTest/symbol-usages-highlighting.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/tests/src/test/resources/sourceCode/HighlightingTest/symbol-usages-highlighting.html b/tests/src/test/resources/sourceCode/HighlightingTest/symbol-usages-highlighting.html
new file mode 100644
index 00000000000..42e1fc154f2
--- /dev/null
+++ b/tests/src/test/resources/sourceCode/HighlightingTest/symbol-usages-highlighting.html
@@ -0,0 +1,49 @@
+<?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"/>
+ <title>highlight-symbol-usages</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+ <thead>
+ <tr>
+ <td rowspan="1" colspan="3">highlight-symbol-usages</td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>open</td>
+ <td>/component/index?id=sample-with-highlighting%3Asrc%2Fmain%2Fxoo%2Fsample%2FSample.xoo</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>css=.source-line</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForXpathCount</td>
+ <td>//span[contains(@class, 'sym')]</td>
+ <td>3</td>
+</tr>
+<tr>
+ <td>waitForXpathCount</td>
+ <td>//span[contains(@class, 'sym highlighted')]</td>
+ <td>0</td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//span[contains(@class, 'sym')][2]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForXpathCount</td>
+ <td>//span[contains(@class, 'sym highlighted')]</td>
+ <td>2</td>
+</tr>
+</tbody>
+</table>
+</body>
+</html>