Commit 082edaa4 by Omar Khan

Merge pull request #109 from open-craft/omar/dashboard-image

Use dashboard image from master branch in tests
parents e01af341 a8ac3980
...@@ -238,7 +238,7 @@ class TestDashboardBlock(ProblemBuilderBaseTest): ...@@ -238,7 +238,7 @@ class TestDashboardBlock(ProblemBuilderBaseTest):
self.assertScreenshot('.pb-dashboard-visual svg', 'dashboard-image', threshold=100) self.assertScreenshot('.pb-dashboard-visual svg', 'dashboard-image', threshold=100)
@check_dashboard_and_report(SIMPLE_DASHBOARD, visual_rules=json.dumps({ @check_dashboard_and_report(SIMPLE_DASHBOARD, visual_rules=json.dumps({
'background': ('//raw.githubusercontent.com/open-craft/problem-builder/omar/report-download/' 'background': ('//raw.githubusercontent.com/open-craft/problem-builder/master/'
'problem_builder/static/test/swoop-bg.png'), 'problem_builder/static/test/swoop-bg.png'),
})) }))
def test_dashboard_image_cross_domain(self): def test_dashboard_image_cross_domain(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment