Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Use Scenario Outline for running data test

Josiah Sprague51761ccce602
diff --git a/e2e/features/layers/runningdata.feature b/e2e/features/layers/runningdata.feature
index db0f0587a..4b0f26dd8 100644
--- a/e2e/features/layers/runningdata.feature
+++ b/e2e/features/layers/runningdata.feature
@@ -2,11 +2,16 @@ Feature: Running Data
When I hover over a data layer, I should see the values I'm hovering over displayed in the layers tab
@hover
-Scenario: Running data on continuous layers
+Scenario Outline: Running data on continuous layers
Given Worldview production has been loaded
And Worldview is in "continuous data layers" state
- Then label should say "267.2 – 267.8 K" when hovering at 320,320
- And label should say "260.9 – 261.5 K" when hovering on colorbar
+ Then label should say "260.9 – 261.5 K" when hovering on colorbar
+ And label should say "<value>" when hovering at <coordinates>
+
+ Examples:
+ | coordinates | value |
+ | 320,320 | 267.2 – 267.8 K |
+ | 400,400 | 271.6 – 272.2 K |
@hover
Scenario: Running data on multiple data layers