-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9da86df
commit 621ccb6
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Feature: Add Remove Map | ||
|
||
As an unauthenticated user to the app, | ||
with the app in its default state, | ||
I want to add one curve | ||
then plot that curve and see the graph, | ||
then go back to the curve management page, | ||
then delete that curve. | ||
|
||
Background: | ||
Given I load the app "/surfrad" | ||
Then I expect the app title to be "Surface Radiation" | ||
|
||
@watch | ||
Scenario: addRemoveCurve | ||
When I set the plot type to "Map" | ||
Then the plot type should be "Map" | ||
When I change the "data-source" parameter to "HRRR_OPS" | ||
Then the "data-source" parameter value matches "HRRR_OPS" | ||
When I set the dates to "09/21/2019 00:00 - 09/24/2019 00:00" | ||
Then the dates value is "09/21/2019 00:00 - 09/24/2019 00:00" | ||
Then I click the "Add Curve" button | ||
Then "Curve0" is added | ||
And I should see a list of curves containing "Curve0" | ||
|
||
When I click the "Plot Unmatched" button | ||
Then I should be on the graph page | ||
And I should have a "Time Series" plot | ||
|
||
When I click the "Back" button | ||
Then I should be on the main page | ||
And the "Plot Unmatched" button should be visible | ||
|
||
Then I click the "Remove Curve0" button | ||
And the "Remove curve Curve0" button should be visible | ||
Then I click the "Remove curve Curve0" button | ||
Then I should have 0 curves |