<commit_before>Feature: An author edits a data collector
  As a Investigations author
  I want to author data collectors in my investigations
  So that I can provoke exploration by my students.

  Background:
    Given The default project and jnlp resources exist using factories
    Given the following users exist:
      | login        | password            | roles                |
      | author       | author              | member, author       |
    And I login with username: author password: <PASSWORD>

  @selenium
  Scenario: The author edits a graph and sees the Y-axis label and units change as the probe type changes
    Given the following simple investigations exist:
      | name                 | description           | user                 |
      | testing fast cars    | how fast can cars go? | author               |

    When I show the first page of the "testing fast cars" investigation
    Then I should see "Page: testing fast cars"
    When I add a "Graph" to the page
    Then I should see "Data Collector"
    When I follow "edit graph"
    Then I should see "Sensor Graph:"
    When I select "Pressure" from "embeddable_data_collector[probe_type_id]"
    Then the "embeddable_data_collector_y_axis_label" field should contain "Pressure"
    And the "embeddable_data_collector_y_axis_units" field should contain "kPa"


  @selenium
  Scenario: The author edits a graph from list of graphs
    Given I created a data collector
    When I visit /embeddable/data_collectors
    And I follow "edit graph"
    Then I should see "Major options"<commit_msg>brittle exact text serch in data collector form<commit_after>Feature: An author edits a data collector
  As a Investigations author
  I want to author data collectors in my investigations
  So that I can provoke exploration by my students.

  Background:
    Given The default project and jnlp resources exist using factories
    Given the following users exist:
      | login        | password            | roles                |
      | author       | author              | member, author       |
    And I login with username: author password: <PASSWORD>

  @selenium
  Scenario: The author edits a graph and sees the Y-axis label and units change as the probe type changes
    Given the following simple investigations exist:
      | name                 | description           | user                 |
      | testing fast cars    | how fast can cars go? | author               |

    When I show the first page of the "testing fast cars" investigation
    Then I should see "Page: testing fast cars"
    When I add a "Graph" to the page
    Then I should see "Data Collector"
    When I follow "edit graph"
    Then I should see "Sensor Graph:"
    When I select "Pressure" from "embeddable_data_collector[probe_type_id]"
    Then the "embeddable_data_collector_y_axis_label" field should contain "Pressure"
    And the "embeddable_data_collector_y_axis_units" field should contain "kPa"


  @selenium
  Scenario: The author edits a graph from list of graphs
    Given I created a data collector
    When I visit /embeddable/data_collectors
    And I follow "edit graph"
    Then I should see "Major Options"
{'fraction_non_alphanumeric': 0.043178973717146435, 'fraction_numerical': 0.0, 'mean_word_length': 2.568080357142857, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3507697', 'n_tokens_mistral': 841, 'n_tokens_neox': 803, 'n_words': 396}