<commit_before>Feature: Upload View Configurations

As a admin, I'm able to upload view configuration

Background:
Given I have an open web browser
Given the server is in "live" mode
When I navigate to the Dashboard home page

@integration @RALLY_US2276
Scenario: Invalid User Login
When I select "Illinois Daybreak School District 4529" and click go
 And I was redirected to the "Simple" IDP Login page
 When I submit the credentials "<PASSWORD>" "<PASSWORD>" for the "Simple" login page
When I enter the Configuration Area
Then I see an error

@integration @RALLY_US2276 @RALLY_US200
Scenario: Upload invalid config file
When I select "Illinois Daybreak School District 4529" and click go
 And I was redirected to the "Simple" IDP Login page
 When I submit the credentials "<PASSWORD>" "<PASSWORD>" for the "Simple" login page
When I enter the Configuration Area
Then I am authorized to the Configuration Area
And I paste Invalid json config into the text box
And click Save
Then I should be shown a failure message
And I reset custom config
And click Save
Then I should be shown a success message
And I logout
When I navigate to the Dashboard home page
When I select "Illinois Daybreak School District 4529" and click go
 And I was redirected to the "Simple" IDP Login page
 When I submit the credentials "<PASSWORD>" "<PASSWORD>" for the "Simple" login page
When I select ed org "Daybreak School District 4529"
When I select school "East Daybreak Junior High"
When I select course "8th Grade English"
When I select section "8th Grade English - Sec 6"
Then I see a list of 28 students
Then I should have a dropdown selector named "viewSelect"
And I should have a selectable view named "Default View"

@integration @RALLY_US2276 @RALLY_US200
Scenario: Upload valid config file
When I select "Illinois Daybreak School District 4529" and click go
 And I was redirected to the "Simple" IDP Login page
 When I submit the credentials "j<PASSWORD>" "<PASSWORD>" for the "Simple" login page
When I enter the Configuration Area
Then I am authorized to the Configuration Area
And I paste Valid json config into the text box
And click Save
Then I should be shown a success message
And I logout
When I navigate to the Dashboard home page
When I select "Illinois Daybreak School District 4529" and click go
 And I was redirected to the "Simple" IDP Login page
 When I submit the credentials "<PASSWORD>" "<PASSWORD>" for the "Simple" login page
When I select ed org "Daybreak School District 4529"
When I select school "East Daybreak Junior High"
When I select course "8th Grade English"
When I select section "8th Grade English - Sec 6"
Then I see a list of 28 students
Then I should have a dropdown selector named "viewSelect"
And I should have a selectable view named "Middle School ELA View"
Then I should see a table heading "StateTest Reading (highest ever)"
Then I should see a table heading "StateTest Writing (most recent)"
Then I should see a table heading "Final Grades"
And I click on student "<NAME>"
And there are "4" Tabs
And Tab has a title named "Middle School Overview"
And I logout
When I navigate to the Dashboard home page<commit_msg>add test for page title for config page<commit_after>Feature: Upload View Configurations

As a admin, I'm able to upload view configuration

Background:
Given I have an open web browser
Given the server is in "live" mode
When I navigate to the Dashboard home page

@integration @RALLY_US2276
Scenario: Invalid User Login
When I select "Illinois Daybreak School District 4529" and click go
 And I was redirected to the "Simple" IDP Login page
 When I submit the credentials "<PASSWORD>" "<PASSWORD>" for the "Simple" login page
When I enter the Configuration Area
Then I see an error

@integration @RALLY_US2276 @RALLY_US200
Scenario: Upload invalid config file
When I select "Illinois Daybreak School District 4529" and click go
 And I was redirected to the "Simple" IDP Login page
 When I submit the credentials "jstevenson" "<PASSWORD>" for the "Simple" login page
When I enter the Configuration Area
Then I am authorized to the Configuration Area
And I paste Invalid json config into the text box
And click Save
Then I should be shown a failure message
And I reset custom config
And click Save
Then I should be shown a success message
And I logout
When I navigate to the Dashboard home page
When I select "Illinois Daybreak School District 4529" and click go
 And I was redirected to the "Simple" IDP Login page
 When I submit the credentials "<PASSWORD>" "<PASSWORD>" for the "Simple" login page
When I select ed org "Daybreak School District 4529"
When I select school "East Daybreak Junior High"
When I select course "8th Grade English"
When I select section "8th Grade English - Sec 6"
Then I see a list of 28 students
Then I should have a dropdown selector named "viewSelect"
And I should have a selectable view named "Default View"

@integration @RALLY_US2276 @RALLY_US200
Scenario: Upload valid config file
When I select "Illinois Daybreak School District 4529" and click go
 And I was redirected to the "Simple" IDP Login page
 When I submit the credentials "jstevenson" "<PASSWORD>" for the "Simple" login page
When I enter the Configuration Area
Then I am authorized to the Configuration Area
And the title of the page is "SLC"
And I paste Valid json config into the text box
And click Save
Then I should be shown a success message
And I logout
When I navigate to the Dashboard home page
When I select "Illinois Daybreak School District 4529" and click go
 And I was redirected to the "Simple" IDP Login page
 When I submit the credentials "linda.kim" "<PASSWORD>" for the "Simple" login page
When I select ed org "Daybreak School District 4529"
When I select school "East Daybreak Junior High"
When I select course "8th Grade English"
When I select section "8th Grade English - Sec 6"
Then I see a list of 28 students
Then I should have a dropdown selector named "viewSelect"
And I should have a selectable view named "Middle School ELA View"
Then I should see a table heading "StateTest Reading (highest ever)"
Then I should see a table heading "StateTest Writing (most recent)"
Then I should see a table heading "Final Grades"
And I click on student "<NAME>"
And there are "4" Tabs
And Tab has a title named "Middle School Overview"
And I logout
When I navigate to the Dashboard home page
{'fraction_non_alphanumeric': 0.04173885651283667, 'fraction_numerical': 0.017955583556465586, 'mean_word_length': 4.746606334841629, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 22, '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': '2017865', 'n_tokens_mistral': 1750, 'n_tokens_neox': 1635, 'n_words': 1066}