<commit_before>Feature: Attendance Calendar

Background:
Given I have an open web browser
Given that dashboard has been authorized for all ed orgs
When I navigate to the Dashboard home page
When I select "Illinois Daybreak School District 4529" and click go

@search @integration @RALLY_US200 @RALLY_US147 @RALLY_US198 @RALLY_US2253 @RALLY_US196 @RALLY_US2254
Scenario: View Attendance calendar for <NAME>
 And I was redirected to the "Simple" IDP Login page
 When I submit the credentials "jstevenson" "jstevenson1<PASSWORD>" for the "Simple" login page
When I enter "Garry" into the student search box
And I click the search button
Then "2" results are returned in the page
And I click on student "<NAME>"
When I click on "Attendance and Discipline" Tab
And I see the Attendance Calendar
And calendar month number "1" is "September" of "2011" 
And calendar month number "6" is "February" of "2012" 
And in calendar month number "1" in day "7" is "Unexcused Absence" with no events
And in calendar month number "2" in day "4" is "Tardy" with event "Missed school bus"
And in calendar month number "2" in day "21" is "Tardy" with event "Woke up Late"
And in calendar month number "2" in day "26" is "Excused Absence" with event "Absent excused"
And in calendar month number "3" in day "17" is "In Attendance" with no events
And in calendar month number "4" in day "19" is "Non School Day" with no events
And the following are the total attendance number shown in the calendar
|Attendance Category|Count  |
|Tardy              |7     	|
|Unexcused Absence  |0      |
|Excused Absence    |3      |


@integration @RALLY_DE2346
Scenario: View Matt Sollars
 And I was redirected to the "Simple" IDP Login page
 When I submit the credentials "linda.kim" "linda.kim<PASSWORD>" for the "Simple" login page
 When I select <edOrg> "Daybreak School District 4529"
 And I select <school> "East Daybreak Junior High"
 And I select <course> "6th Grade English"
 And I select <section> "6th Grade English - Sec 4"
 And I click on student "<NAME>"
 And I view its student profile
 When I click on "Attendance and Discipline" Tab
 And I see the Attendance Calendar
 And calendar month number "1" is "September" of "2011" 
 And calendar month number "6" is "February" of "2012" <commit_msg>Fixed attendance count<commit_after>Feature: Attendance Calendar

Background:
Given I have an open web browser
Given that dashboard has been authorized for all ed orgs
When I navigate to the Dashboard home page
When I select "Illinois Daybreak School District 4529" and click go

@search @integration @RALLY_US200 @RALLY_US147 @RALLY_US198 @RALLY_US2253 @RALLY_US196 @RALLY_US2254
Scenario: View Attendance calendar for <NAME>
 And I was redirected to the "Simple" IDP Login page
 When I submit the credentials "jstevenson" "jstevenson1<PASSWORD>" for the "Simple" login page
When I enter "Garry" into the student search box
And I click the search button
Then "2" results are returned in the page
And I click on student "<NAME>"
When I click on "Attendance and Discipline" Tab
And I see the Attendance Calendar
And calendar month number "1" is "September" of "2011" 
And calendar month number "6" is "February" of "2012" 
And in calendar month number "1" in day "7" is "Unexcused Absence" with no events
And in calendar month number "2" in day "4" is "Tardy" with event "Missed school bus"
And in calendar month number "2" in day "21" is "Tardy" with event "Woke up Late"
And in calendar month number "2" in day "26" is "Excused Absence" with event "Absent excused"
And in calendar month number "3" in day "17" is "In Attendance" with no events
And in calendar month number "4" in day "19" is "Non School Day" with no events
And the following are the total attendance number shown in the calendar
|Attendance Category|Count  |
|Tardy              |7     	|
|Unexcused Absence  |2      |
|Excused Absence    |3      |


@integration @RALLY_DE2346
Scenario: View Matt Sollars
 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 <edOrg> "Daybreak School District 4529"
 And I select <school> "East Daybreak Junior High"
 And I select <course> "6th Grade English"
 And I select <section> "6th Grade English - Sec 4"
 And I click on student "<NAME>"
 And I view its student profile
 When I click on "Attendance and Discipline" Tab
 And I see the Attendance Calendar
 And calendar month number "1" is "September" of "2011" 
 And calendar month number "6" is "February" of "2012" 
{'fraction_non_alphanumeric': 0.0675318961724593, 'fraction_numerical': 0.03343598768147822, 'mean_word_length': 4.413095238095238, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '5938949', 'n_tokens_mistral': 1445, 'n_tokens_neox': 1344, 'n_words': 716}