Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Basic e2e scenario for document show page.

  • Loading branch information...
commit 7f318e947b648a08c06230d5b58505e0097ef21d 1 parent eaa41b0
@lucassus authored
View
4 public/ng/templates/documents/show.html
@@ -1,3 +1,7 @@
+<header>
+ <h2>Document {{document.id}}</h2>
+</header>
+
<table class="table table-striped table-hover documents">
<tbody>
<tr class="document">
View
2  spec/javascripts/e2e/document_show_scenario.js.coffee
@@ -5,5 +5,7 @@ describe "documents list page", ->
element("table.databases tbody tr a:contains('first_database')").click()
element("table.collections tbody tr a:contains('first_collection')").click()
+ element("table.documents tbody tr:first td span.id a").click()
it "shows the document page", ->
+ expect(browser().location().url()).toMatch(/\/databases\/first_database\/collections\/first_collection\/documents\/.+/)
Please sign in to comment.
Something went wrong with that request. Please try again.