aboutsummaryrefslogtreecommitdiffstats
path: root/it
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-12-09 15:30:21 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-12-09 16:19:11 +0100
commitca3269cbb334dd33916802af217c5a0a88fe67ba (patch)
tree5ef5d3746b46c3e166422fbe8cfb066c9a48753f /it
parent7dea0e7e33f3a6072b3ac9ae9984399089160b4e (diff)
downloadsonarqube-ca3269cbb334dd33916802af217c5a0a88fe67ba.tar.gz
sonarqube-ca3269cbb334dd33916802af217c5a0a88fe67ba.zip
display markdown help
Diffstat (limited to 'it')
-rw-r--r--it/it-tests/src/test/java/it/ui/UiTest.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/it/it-tests/src/test/java/it/ui/UiTest.java b/it/it-tests/src/test/java/it/ui/UiTest.java
index a2e71ebc4ef..497770eb7e1 100644
--- a/it/it-tests/src/test/java/it/ui/UiTest.java
+++ b/it/it-tests/src/test/java/it/ui/UiTest.java
@@ -113,6 +113,16 @@ public class UiTest {
.shouldHave(text("1 active rules"));
}
+ @Test
+ public void markdown_help() {
+ String tags[] = {"strong", "a", "ul", "ol", "h1", "code", "pre", "blockquote"};
+
+ nav.open("/markdown/help");
+ for (String tag : tags) {
+ $(tag).shouldBe(visible);
+ }
+ }
+
private static void analyzeSampleProject() {
ORCHESTRATOR.executeBuild(SonarScanner.create(projectDir("shared/xoo-sample")));
}