Skip to content

Commit

Permalink
add screenshots for grids (#5878)
Browse files Browse the repository at this point in the history
* add screenshots for grids

Re #5320 #5868 #5316

* adjust screenshot path
  • Loading branch information
jywarren authored Jun 12, 2019
1 parent 797b9fb commit b1f46a3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/system/screenshots_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,14 @@ class ScreenshotsTest < ApplicationSystemTestCase
visit '/people'
take_screenshot
end

test 'wiki page with inline grids' do
node = nodes(:place) # /wiki/chicago page
revision = node.latest
revision.body = "Inline grids:\n\n## Thumbnails\n\n[notes:grid:test]\n\n## Nodes\n\n[nodes:test]\n\n## Notes\n\n[notes:test]\n\n## Wikis\n\n[wikis:test]\n\n## Questions\n\n[questions:test]\n\n## Activities\n\n[activities:test]\n\n## Thumbnails\n\n[notes:grid:test]\n\nThis should not render:\n\n`[nodes:tagname]`"
revision.save
visit node.path
take_screenshot
end

end

0 comments on commit b1f46a3

Please sign in to comment.