1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Added basic system tests for markdown editor, Added extra test helpers

Added test helpers for checking if an element exists / does not exist on a page.
Also fixed markdown editor bugs found while creating tests.
This commit is contained in:
Dan Brown
2016-03-29 20:13:23 +01:00
parent e1994ef2cf
commit dc2978824e
4 changed files with 81 additions and 1 deletions

View File

@ -57,6 +57,9 @@
padding: 0 $-m 0;
margin-left: -1px;
overflow-y: scroll;
.page-content {
margin: 0 auto;
}
}
}
.editor-toolbar {

View File

@ -68,7 +68,9 @@
<div class="editor-toolbar">
<div class="">Preview</div>
</div>
<div class="markdown-display page-content" ng-bind-html="displayContent"></div>
<div class="markdown-display">
<div class="page-content" ng-bind-html="displayContent"></div>
</div>
</div>
</div>