<commit_before>
# Elements-50-0-text => Title
# Elements-49-0-text => Subject
# Elements-38        => Coverage

Feature: Draw Features on a Map
  In order to add geospatial metadata to an item
  As an item editor
  I want to be able to annotate an item by drawing features on a map.

  Scenario: Coverage Has A Map
    Given I am logged into the admin console
    And I click "Add a new item to your archive"
    When I click on the "#element-38" field "NL Features" tab
    Then I should see a map in "#element-38"
    But I should not see ".nlfeatures-edit-raw" in "#element-38"

  Scenario: Draw Point On A Map
    Given I am logged into the admin console
    And I click "Add a new item to your archive"
    And I click on the "#element-38" field "NL Features" tab
    When I click on the "Coverages" map
    Then a point is visible on the map

  Scenario: Draw Line On A Map
    Given I am logged into the admin console
    And I click "Add a new item to your archive"
    And I click on the "#element-38" field "NL Features" tab
    When I click and drag on the "Coverages" map
    Then a line is visible on the map

  Scenario: Draw On Coverage Map
    Given I am logged into the admin console
    And I click "Add a new item to your archive"
    And I enter "Draw On Coverage Map" for the "Elements-50-0-text"      # Title
    And I enter "Draw On Coverage Map" for the "Elements-49-0-text"      # Subject
    And I click on the "#element-38" field "NL Features" tab
    And I click on the "Coverages" map
    And I click and drag on the "Coverages" map
    And I click on "Add Item"<commit_msg>Fixed capitalization in scenario titles.<commit_after>
# Elements-50-0-text => Title
# Elements-49-0-text => Subject
# Elements-38        => Coverage

Feature: Draw Features on a Map
  In order to add geospatial metadata to an item
  As an item editor
  I want to be able to annotate an item by drawing features on a map.

  Scenario: Coverage Has a Map
    Given I am logged into the admin console
    And I click "Add a new item to your archive"
    When I click on the "#element-38" field "NL Features" tab
    Then I should see a map in "#element-38"
    But I should not see ".nlfeatures-edit-raw" in "#element-38"

  Scenario: Draw Point on a Map
    Given I am logged into the admin console
    And I click "Add a new item to your archive"
    And I click on the "#element-38" field "NL Features" tab
    When I click on the "Coverages" map
    Then a point is visible on the map

  Scenario: Draw Line on a Map
    Given I am logged into the admin console
    And I click "Add a new item to your archive"
    And I click on the "#element-38" field "NL Features" tab
    When I click and drag on the "Coverages" map
    Then a line is visible on the map

  Scenario: Save Data Drawn on Coverage Map
    Given I am logged into the admin console
    And I click "Add a new item to your archive"
    And I enter "Draw On Coverage Map" for the "Elements-50-0-text"      # Title
    And I enter "Draw On Coverage Map" for the "Elements-49-0-text"      # Subject
    And I click on the "#element-38" field "NL Features" tab
    And I click on the "Coverages" map
    And I click and drag on the "Coverages" map
    And I click on "Add Item"
{'fraction_non_alphanumeric': 0.0594944512946979, 'fraction_numerical': 0.016029593094944512, 'mean_word_length': 2.782051282051282, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1770727', 'n_tokens_mistral': 983, 'n_tokens_neox': 934, 'n_words': 539}