Skip to content

Commit

Permalink
test alters
Browse files Browse the repository at this point in the history
  • Loading branch information
janette committed Feb 12, 2018
1 parent a144862 commit 32cbb50
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion test/features/datastore.feature
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Feature: Datastore
When I click "Resource 03"
And I click "Edit"
And I wait for "Remote file"
And I attach the drupal file "dkan/TAB_delimiter_large_raw_number.csv" to "files[field_upload_und_0]"
And I attach the drupal file "dkan/TAB_delimiter_large_raw_number.csv" to "field_upload[und][0][resup]"
#And I select "tab" from "Delimiter"
And I press "Save"
Then I should see "Resource Resource 03 has been updated"
Expand Down
11 changes: 6 additions & 5 deletions test/features/leaflet_draw_widget.feature
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ Feature: Leaflet Map Widget
And datasets:
| title | author | published | tags | description | publisher |
| This is a test dataset | admin | Yes | New Tag | Test | Group 01 |

And I disable the module "dkan_data_story"
And I disable the module "dkan_sitewide_menu"
And I disable the module "admin_menu_toolbar"
And I disable the module "admin_menu_source"
And I disable the module "admin_menu"
And I am logged in as "Gabriel"
And I visit the "This is a test dataset" page
And I click "Edit"
Expand All @@ -31,11 +37,6 @@ Feature: Leaflet Map Widget
And the "textarea" element with id set to "leaflet-widget_field-spatial-geojson-textarea" in the "dataset spatial" region should not be visible
And the "input" element with id set to "leaflet-widget_field-spatial-points-input" in the "dataset spatial" region should not be visible
# GeoJSON tab
And I disable the module "dkan_data_story"
And I disable the module "dkan_sitewide_menu"
And I disable the module "admin_menu_toolbar"
And I disable the module "admin_menu_source"
And I disable the module "admin_menu"
When I click "GeoJSON" in the "dataset spatial" region
Then I should see "Enter GeoJSON" in the "dataset spatial" region
And the "textarea" element with id set to "leaflet-widget_field-spatial-geojson-textarea" in the "dataset spatial" region should be visible
Expand Down
12 changes: 11 additions & 1 deletion test/features/theme.admin.feature
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ Feature: Theme

@noworkflow
Scenario: Add custom site information
Given I am logged in as "Site Manager"
Given I disable the module "dkan_data_story"
And I disable the module "dkan_sitewide_menu"
And I disable the module "admin_menu_toolbar"
And I disable the module "admin_menu_source"
And I disable the module "admin_menu"
And I am logged in as "Site Manager"
Then I am on "Settings" page
And I should see "E-mail address"
And I fill in "Site name" with "sitename test"
Expand All @@ -56,3 +61,8 @@ Feature: Theme
When I press "Save configuration"
Then I wait for "3" seconds
Then I should see "The configuration options have been saved"
And I enable the module "admin_menu"
And I enable the module "admin_menu_source"
And I enable the module "admin_menu_toolbar"
And I enable the module "dkan_sitewide_menu"
And I enable the module "dkan_data_story"

0 comments on commit 32cbb50

Please sign in to comment.