-
Notifications
You must be signed in to change notification settings - Fork 4
BDMS-441: Admin view features for legacy nma #387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,33 @@ | ||
| @admin @minor-trace-chemistry | ||
| Feature: Minor and Trace Chemistry Admin View | ||
| As a data manager who needs legacy chemistry details | ||
| I need to view minor and trace chemistry records in the admin interface | ||
| So that I can review data without editing it | ||
|
|
||
| Background: | ||
| Given I am authenticated as user "admin@nmbgmr.nmt.edu" with "Admin" role | ||
| And the admin interface is available at "/admin" | ||
|
|
||
| @smoke @list-view | ||
| Scenario: View minor and trace chemistry list with all columns | ||
| Given the following minor and trace chemistry records exist: | ||
| | sample_pt_id | sample_point_id | analyte | sample_value | units | analysis_date | | ||
| | 1001 | NM-0001 | As | 0.004 | mg/L | 2020-06-20 | | ||
| When I navigate to "/admin/minortracechemistry" | ||
| Then I should see the minor and trace chemistry list page | ||
| And I should see the following columns: | ||
| | Column Name | | ||
| | GlobalID | | ||
| | ObjectID | | ||
| | SamplePtID | | ||
| | SamplePointID | | ||
| | Analyte | | ||
| | Symbol | | ||
| | SampleValue | | ||
| | Units | | ||
| | Uncertainty | | ||
| | AnalysisMethod | | ||
| | AnalysisDate | | ||
| | Notes | | ||
| | Volume | | ||
| | VolumeUnit | |
This file contains hidden or 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,38 @@ | ||
| @admin @chemistry-sample-info | ||
| Feature: Chemistry Sample Info Admin View | ||
| As a data manager who needs legacy chemistry records | ||
| I need to view chemistry sample info in the admin interface | ||
| So that I can review data without editing it | ||
|
|
||
| Background: | ||
| Given I am authenticated as user "admin@nmbgmr.nmt.edu" with "Admin" role | ||
| And the admin interface is available at "/admin" | ||
|
|
||
| @smoke @list-view | ||
| Scenario: View chemistry sample info list with all columns | ||
| Given the following chemistry sample info records exist: | ||
| | sample_point_id | sample_pt_id | wclab_id | collection_date | sample_type | data_source | | ||
| | NM-0001 | SP-0001 | WC-1001 | 2020-06-15 | groundwater | AMPAPI | | ||
| When I navigate to "/admin/chemistrysampleinfo" | ||
| Then I should see the chemistry sample info list page | ||
| And I should see the following columns: | ||
| | Column Name | | ||
| | OBJECTID | | ||
| | Thing ID | | ||
| | SamplePointID | | ||
| | SamplePtID | | ||
| | WCLab ID | | ||
| | Collection Date | | ||
| | Collection Method | | ||
| | Collected By | | ||
| | Analyses Agency | | ||
| | Sample Type | | ||
| | Sample Material Not H2O | | ||
| | Water Type | | ||
| | Study Sample | | ||
| | Data Source | | ||
| | Data Quality | | ||
| | Public Release | | ||
| | Added Day to Date | | ||
| | Added Month Day to Date | | ||
| | Sample Notes | | ||
This file contains hidden or 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,31 @@ | ||
| @admin @hydraulics-data | ||
| Feature: Hydraulics Data Admin View | ||
| As a data manager who needs legacy hydraulics records | ||
| I need to view hydraulics data in the admin interface | ||
| So that I can review data without editing it | ||
|
|
||
| Background: | ||
| Given I am authenticated as user "admin@nmbgmr.nmt.edu" with "Admin" role | ||
| And the admin interface is available at "/admin" | ||
|
|
||
| @smoke @list-view | ||
| Scenario: View hydraulics data list with all columns | ||
| Given the following hydraulics data records exist: | ||
| | global_id | point_id | thing_id | hydraulic_unit | test_top | test_bottom | t_ft2_d | data_source | | ||
| | 550e8400-e29b-41d4-a716-446655440000 | NM-0001 | 1 | HU-1 | 10 | 50 | 123.4 | AMPAPI | | ||
|
chasetmartin marked this conversation as resolved.
|
||
| When I navigate to "/admin/hydraulicsdata" | ||
| Then I should see the hydraulics data list page | ||
| And I should see the following columns: | ||
| | Column Name | | ||
| | GlobalID | | ||
| | WellID | | ||
| | PointID | | ||
| | Thing ID | | ||
| | HydraulicUnit | | ||
| | HydraulicUnitType | | ||
| | TestTop | | ||
| | TestBottom | | ||
| | T (ft2/d) | | ||
| | k (darcy) | | ||
| | Data Source | | ||
| | OBJECTID | | ||
This file contains hidden or 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,35 @@ | ||
| @admin @major-chemistry | ||
| Feature: Major Chemistry Admin View | ||
| As a data manager who needs legacy major chemistry records | ||
| I need to view major chemistry data in the admin interface | ||
| So that I can review data without editing it | ||
|
|
||
| Background: | ||
| Given I am authenticated as user "admin@nmbgmr.nmt.edu" with "Admin" role | ||
| And the admin interface is available at "/admin" | ||
|
|
||
| @smoke @list-view | ||
| Scenario: View major chemistry list with all columns | ||
| Given the following major chemistry records exist: | ||
| | global_id | sample_pt_id | sample_point_id | analyte | sample_value | units | analysis_date | | ||
| | 9d3a2e2c-5b2b-4e1f-8a90-c1c79f1d9d11 | 550e8400-e29b-41d4-a716-446655440002 | NM-0003 | Ca | 45.6 | mg/L | 2020-06-25 | | ||
| When I navigate to "/admin/majorchemistry" | ||
| Then I should see the major chemistry list page | ||
| And I should see the following columns: | ||
| | Column Name | | ||
| | GlobalID | | ||
| | SamplePtID | | ||
| | SamplePointID | | ||
| | Analyte | | ||
| | Symbol | | ||
| | SampleValue | | ||
| | Units | | ||
| | Uncertainty | | ||
| | AnalysisMethod | | ||
| | AnalysisDate | | ||
| | Notes | | ||
| | Volume | | ||
| | VolumeUnit | | ||
| | OBJECTID | | ||
| | AnalysesAgency | | ||
| | WCLab_ID | |
This file contains hidden or 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,28 @@ | ||
| @admin @ngwmn-lithology | ||
| Feature: NGWMN Lithology Admin View | ||
| As a data manager who needs legacy NGWMN lithology records | ||
| I need to view NGWMN lithology data in the admin interface | ||
| So that I can review data without editing it | ||
|
|
||
| Background: | ||
| Given I am authenticated as user "admin@nmbgmr.nmt.edu" with "Admin" role | ||
| And the admin interface is available at "/admin" | ||
|
|
||
| @smoke @list-view | ||
| Scenario: View NGWMN lithology list with all columns | ||
| Given the following NGWMN lithology records exist: | ||
| | object_id | point_id | lithology | term | | ||
| | 301 | NG-0003 | Sand | Santa Fe Group | | ||
| When I navigate to "/admin/ngwmnlithology" | ||
| Then I should see the NGWMN lithology list page | ||
| And I should see the following columns: | ||
| | Column Name | | ||
| | OBJECTID | | ||
| | PointID | | ||
| | Lithology | | ||
| | TERM | | ||
| | StratSource | | ||
| | StratTop | | ||
| | StratTopUnit | | ||
| | StratBottom | | ||
| | StratBottomUnit | |
This file contains hidden or 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,26 @@ | ||
| @admin @ngwmn-water-levels | ||
| Feature: NGWMN Water Levels Admin View | ||
| As a data manager who needs legacy NGWMN water level records | ||
| I need to view NGWMN water levels in the admin interface | ||
| So that I can review data without editing it | ||
|
|
||
| Background: | ||
| Given I am authenticated as user "admin@nmbgmr.nmt.edu" with "Admin" role | ||
| And the admin interface is available at "/admin" | ||
|
|
||
| @smoke @list-view | ||
| Scenario: View NGWMN water levels list with all columns | ||
| Given the following NGWMN water level records exist: | ||
| | point_id | date_measured | depth_to_water_bgs | wl_units | | ||
| | NG-0002 | 2020-05-20 | 35.5 | ft | | ||
| When I navigate to "/admin/ngwmnwaterlevels" | ||
| Then I should see the NGWMN water levels list page | ||
| And I should see the following columns: | ||
| | Column Name | | ||
| | PointID | | ||
| | DateMeasured | | ||
| | DepthToWaterBGS | | ||
| | WLUnits | | ||
| | MeasurementMethod | | ||
| | WLAccuracy | | ||
| | PublicRelease | |
This file contains hidden or 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,28 @@ | ||
| @admin @ngwmn-well-construction | ||
| Feature: NGWMN Well Construction Admin View | ||
| As a data manager who needs legacy NGWMN well construction records | ||
| I need to view NGWMN well construction data in the admin interface | ||
| So that I can review data without editing it | ||
|
|
||
| Background: | ||
| Given I am authenticated as user "admin@nmbgmr.nmt.edu" with "Admin" role | ||
| And the admin interface is available at "/admin" | ||
|
|
||
| @smoke @list-view | ||
| Scenario: View NGWMN well construction list with all columns | ||
| Given the following NGWMN well construction records exist: | ||
| | point_id | casing_top | casing_bottom | casing_depth_units | | ||
| | NG-0001 | 10.0 | 50.0 | ft | | ||
| When I navigate to "/admin/ngwmnwellconstruction" | ||
| Then I should see the NGWMN well construction list page | ||
| And I should see the following columns: | ||
| | Column Name | | ||
| | PointID | | ||
| | CasingTop | | ||
| | CasingBottom | | ||
| | CasingDepthUnits | | ||
| | ScreenTop | | ||
| | ScreenBottom | | ||
| | ScreenBottomUnit | | ||
| | ScreenDescription | | ||
| | CasingDescription | |
This file contains hidden or 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,28 @@ | ||
| @admin @radionuclides | ||
| Feature: Radionuclides Admin View | ||
| As a data manager who needs legacy radionuclide records | ||
| I need to view radionuclides in the admin interface | ||
| So that I can review data without editing it | ||
|
|
||
| Background: | ||
| Given I am authenticated as user "admin@nmbgmr.nmt.edu" with "Admin" role | ||
| And the admin interface is available at "/admin" | ||
|
|
||
| @smoke @list-view | ||
| Scenario: View radionuclides list with all columns | ||
| Given the following radionuclide records exist: | ||
| | global_id | sample_pt_id | sample_point_id | thing_id | analyte | sample_value | units | analysis_date | | ||
| | 0b94060d-11b8-4e43-bc3b-4e3a5c1e9f2a | 550e8400-e29b-41d4-a716-446655440001 | NM-0002 | 2 | U-238 | 0.12 | pCi/L | 2020-06-22 | | ||
|
chasetmartin marked this conversation as resolved.
|
||
| When I navigate to "/admin/radionuclides" | ||
| Then I should see the radionuclides list page | ||
| And I should see the following columns: | ||
| | Column Name | | ||
| | GlobalID | | ||
| | SamplePtID | | ||
| | SamplePointID | | ||
| | Thing ID | | ||
| | Analyte | | ||
| | SampleValue | | ||
| | Units | | ||
| | AnalysisDate | | ||
| | AnalysesAgency | | ||
This file contains hidden or 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,34 @@ | ||
| @admin @surface-water | ||
| Feature: Surface Water Admin View | ||
| As a data manager who needs legacy surface water records | ||
| I need to view surface water data in the admin interface | ||
| So that I can review data without editing it | ||
|
|
||
| Background: | ||
| Given I am authenticated as user "admin@nmbgmr.nmt.edu" with "Admin" role | ||
| And the admin interface is available at "/admin" | ||
|
|
||
| @smoke @list-view | ||
| Scenario: View surface water list with all columns | ||
| Given the following surface water data records exist: | ||
| | surface_id | point_id | object_id | date_measured | discharge | discharge_units | | ||
| | 1f41f8b3-8a0d-41a5-9c83-7f9b3f2b6f2d | SW-0001 | 101 | 2020-07-01 | 15.2 | cfs | | ||
| When I navigate to "/admin/surfacewaterdata" | ||
| Then I should see the surface water list page | ||
| And I should see the following columns: | ||
| | Column Name | | ||
| | SurfaceID | | ||
| | PointID | | ||
| | OBJECTID | | ||
| | DateMeasured | | ||
| | Discharge | | ||
| | DischargeRate | | ||
| | DischargeUnits | | ||
| | DischargeMethod | | ||
| | DischargeSource | | ||
| | FormationZone | | ||
| | AqClass | | ||
| | SiteNotes | | ||
| | FieldMethodNotes | | ||
| | SourceNotes | | ||
| | DataSource | |
38 changes: 38 additions & 0 deletions
38
features/admin/nma_water_levels_continuous_pressure_daily_admin.feature
This file contains hidden or 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,38 @@ | ||
| @admin @water-levels-continuous-pressure-daily | ||
| Feature: Water Levels Continuous Pressure Daily Admin View | ||
| As a data manager who needs legacy water level records | ||
| I need to view continuous pressure daily water levels in the admin interface | ||
| So that I can review data without editing it | ||
|
|
||
| Background: | ||
| Given I am authenticated as user "admin@nmbgmr.nmt.edu" with "Admin" role | ||
| And the admin interface is available at "/admin" | ||
|
|
||
| @smoke @list-view | ||
| Scenario: View continuous pressure daily water levels list with all columns | ||
| Given the following continuous pressure daily water level records exist: | ||
| | global_id | point_id | date_measured | created | updated | | ||
| | 7a3d2db5-0f3a-4e43-95b6-61b14f2a9cb2 | WL-0001 | 2020-06-15T08:00:00 | 2020-06-16T08:00:00 | 2020-06-17T08:00:00 | | ||
| When I navigate to "/admin/waterlevelscontinuouspressuredaily" | ||
| Then I should see the continuous pressure daily water levels list page | ||
| And I should see the following columns: | ||
| | Column Name | | ||
| | GlobalID | | ||
| | OBJECTID | | ||
| | WellID | | ||
| | PointID | | ||
| | DateMeasured | | ||
| | TemperatureWater | | ||
| | WaterHead | | ||
| | WaterHeadAdjusted | | ||
| | DepthToWaterBGS | | ||
| | MeasurementMethod | | ||
| | DataSource | | ||
| | MeasuringAgency | | ||
| | QCed | | ||
| | Notes | | ||
| | Created | | ||
| | Updated | | ||
| | ProcessedBy | | ||
| | CheckedBy | | ||
| | CONDDL (mS/cm) | |
This file contains hidden or 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,23 @@ | ||
| @admin @weather-data | ||
| Feature: Weather Data Admin View | ||
| As a data manager who needs legacy weather records | ||
| I need to view weather data in the admin interface | ||
| So that I can review data without editing it | ||
|
|
||
| Background: | ||
| Given I am authenticated as user "admin@nmbgmr.nmt.edu" with "Admin" role | ||
| And the admin interface is available at "/admin" | ||
|
|
||
| @smoke @list-view | ||
| Scenario: View weather data list with all columns | ||
| Given the following weather data records exist: | ||
| | object_id | point_id | location_id | weather_id | | ||
| | 201 | WX-0001 | 550e8400-e29b-41d4-a716-446655440010 | 550e8400-e29b-41d4-a716-446655440011 | | ||
| When I navigate to "/admin/weatherdata" | ||
| Then I should see the weather data list page | ||
| And I should see the following columns: | ||
| | Column Name | | ||
| | LocationId | | ||
| | PointID | | ||
| | WeatherID | | ||
| | OBJECTID | |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.