Skip to content

Commit 169fb49

Browse files
committed
Organize legend regression tests.
1 parent cd31071 commit 169fb49

File tree

9 files changed

+40
-26
lines changed

9 files changed

+40
-26
lines changed

features/legends.feature

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ Feature: Legends
22
Scenario Outline: Render legends
33
Given a default canvas
44
And a set of cartesian axes
5-
And <data>
6-
And the data is rendered as <mark>
7-
And the marks are added to a legend
8-
And the legend is added to the <target>
5+
And <scenario>
6+
And the marks are used to create a legend
97
Then the figure should match the <reference> reference image
108

119
Examples:
12-
| data | mark | target | reference |
13-
| single and multi series data | bars | canvas | legend-canvas-bar |
14-
| single and multi series data | fills | canvas | legend-canvas-fill |
15-
| single and multi series data | plots | canvas | legend-canvas-plot |
16-
| single and multi series data | scatterplots | canvas | legend-canvas-scatterplot |
10+
| scenario | reference |
11+
| the data is rendered as boundary bars | legend-boundary-bars |
12+
| the data is rendered as magnitude bars | legend-magnitude-bars |
13+
| the data is rendered as boundary fills | legend-boundary-fills |
14+
| the data is rendered as magnitude fills | legend-magnitude-fills |
15+
| the data is rendered as plots | legend-plots |
16+
| the data is rendered as scatterplots | legend-scatterplots |
1717

features/reference/legend-boundary-bars.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

features/reference/legend-canvas-bar.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

features/reference/legend-magnitude-bars.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)