Then Ishouldnotsee"Thereareofflinecommentstobesynchronised."
And Ishouldsee"commenttest"
And Ipressthebackbuttonintheapp
And Ishouldsee"Comments(1)"
And Ipress"Comments(1)"intheapp
And Iswitchofflinemodeto"true"
And Ipress"Delete"intheapp
And Ipress"trash"intheapp
And Ipress"Delete"near"Cancel"intheapp
Then Ishouldsee"Commentdeleted"
And Ishouldsee"Thereareofflinecommentstobesynchronised."
And Ishouldsee"Deletedoffline"
And Ishouldsee"commenttest"
And Ipressthebackbuttonintheapp
And Ishouldsee"Comments(1)"
And Ipress"Comments(1)"intheapp
And Iswitchofflinemodeto"false"
And Ipress"Displayoptions"intheapp
And Ipress"Synchronisenow"intheapp
Then Ishouldnotsee"Thereareofflinecommentstobesynchronised."
And Ishouldnotsee"commenttest"
And Ipressthebackbuttonintheapp
And Ishouldsee"Comments(0)"
@app@3.8.0@OK
Scenario: Add comments and delete comments (glossary)
When Ientertheapp
And Iloginas"teacher1"
Then theheadershouldbe"Acceptancetestsite"intheapp
And Ishouldsee"Course1"
And Ipress"Course1"near"Recentlyaccessedcourses"intheapp
And Ipress"Testglossary"intheapp
And Ipress"close"intheapp
And Isetthefield"Concept"to"potato"intheapp
And Isetthefield"Definition"to"ThepotatoisarootvegetablenativetotheAmericas,astarchytuberoftheplantSolanumtuberosum,andtheplantitself,aperennialinthefamilySolanaceae."intheapp
And Ipress"Save"intheapp
And Ipress"potato"intheapp
And Ipress"Comments(0)"intheapp
And Ipress"close"intheapp
And Isetthefield"Addacomment..."to"commenttest"intheapp
And Ipress"Savecomment"intheapp
Then Ishouldsee"Commentcreated"
And Ishouldsee"commenttest"
And Ipressthebackbuttonintheapp
And Ishouldsee"Comments(1)"
When Ientertheapp
And Iloginas"student1"
Then theheadershouldbe"Acceptancetestsite"intheapp
And Ishouldsee"Course1"
And Ipress"Course1"near"Recentlyaccessedcourses"intheapp
And Ipress"Testglossary"intheapp
And Ipress"potato"intheapp
And Ipress"Comments(1)"intheapp
And Ipress"close"intheapp
And Isetthefield"Addacomment..."to"commentteststudent"intheapp
And Ipress"Savecomment"intheapp
Then Ishouldsee"Commentcreated"
And Ishouldsee"commenttest"
And Ishouldsee"commentteststudent"
And Ipressthebackbuttonintheapp
And Ishouldsee"Comments(2)"
And Ipress"Comments(2)"intheapp
And Ipress"Delete"intheapp
And Ipress"trash"intheapp
And Ipress"Delete"near"Cancel"intheapp
Then Ishouldsee"Commentdeleted"
And Ishouldsee"commenttest"
And Ishouldnotsee"commentteststudent"
And Ipressthebackbuttonintheapp
And Ishouldsee"Comments(1)"
@app@3.8.0@OK
Scenario: Add comments offline, delete comments offline and sync (glossary)
When Ientertheapp
And Iloginas"teacher1"
Then theheadershouldbe"Acceptancetestsite"intheapp
And Ishouldsee"Course1"
And Ipress"Course1"near"Recentlyaccessedcourses"intheapp
And Ipress"Testglossary"intheapp
And Ipress"close"intheapp
And Isetthefield"Concept"to"potato"intheapp
And Isetthefield"Definition"to"ThepotatoisarootvegetablenativetotheAmericas,astarchytuberoftheplantSolanumtuberosum,andtheplantitself,aperennialinthefamilySolanaceae."intheapp
And Ipress"Save"intheapp
And Ipress"potato"intheapp
And Ipress"Comments(0)"intheapp
And Iswitchofflinemodeto"true"
And Ipress"close"intheapp
And Isetthefield"Addacomment..."to"commenttest"intheapp
And Ipress"Savecomment"intheapp
Then Ishouldsee"Datastoredinthedevicebecauseitcouldn'tbesent.Itwillbesentautomaticallylater."
And Ishouldsee"Thereareofflinecommentstobesynchronised."
And Ishouldsee"commenttest"
And Ipressthebackbuttonintheapp
And Ishouldsee"Comments(0)"
And Ipress"Comments(0)"intheapp
And Iswitchofflinemodeto"false"
And Ipress"Displayoptions"intheapp
And Ipress"Synchronisenow"intheapp
Then Ishouldnotsee"Thereareofflinecommentstobesynchronised."
And Ishouldsee"commenttest"
And Ipressthebackbuttonintheapp
And Ishouldsee"Comments(1)"
And Ipress"Comments(1)"intheapp
And Iswitchofflinemodeto"true"
And Ipress"Delete"intheapp
And Ipress"trash"intheapp
And Ipress"Delete"near"Cancel"intheapp
Then Ishouldsee"Commentdeleted"
And Ishouldsee"Thereareofflinecommentstobesynchronised."
And Ishouldsee"Deletedoffline"
And Ishouldsee"commenttest"
And Ipressthebackbuttonintheapp
And Ishouldsee"Comments(1)"
And Ipress"Comments(1)"intheapp
And Iswitchofflinemodeto"false"
And Ipress"Displayoptions"intheapp
And Ipress"Synchronisenow"intheapp
Then Ishouldnotsee"Thereareofflinecommentstobesynchronised."
And Ishouldnotsee"commenttest"
And Ipressthebackbuttonintheapp
And Ishouldsee"Comments(0)"
@app@3.8.0@mobile@OK
Scenario: Add comments and delete comments mobile (blogs)
When Ientertheapp
And Iloginas"teacher1"
Then theheadershouldbe"Acceptancetestsite"intheapp
And Ishouldsee"Course1"
And Ipress"Course1"near"Recentlyaccessedcourses"intheapp
And Ipress"menu"intheapp
And Ipress"Website"intheapp
And Iswitchtothebrowsertabopenedbytheapp
And Ifollow"Login"
And Iloginas"teacher1"
And Iclickon"Sidepanel""button"
And Ifollow"C1"
And Ipress"Actionsmenu"
And Ifollow"Turneditingon"
And Iclickon"Sidepanel""button"
And Ifollow"Addablock"
And Ifollow"Blogmenu"
And Ifollow"Addanentryaboutthiscourse"
And Isetthefield"Entrytitle"to"Blogtest"
And Isetthefield"Blogentrybody"to"Blogbody"
And Ipress"Savechanges"
And Iclosethebrowsertabopenedbytheapp
When Ientertheapp
And Iloginas"student1"
Then theheadershouldbe"Acceptancetestsite"intheapp
And Ishouldsee"Course1"
And Ipress"Course1"near"Recentlyaccessedcourses"intheapp
And Ipress"menu"intheapp
And Ipress"Siteblog"intheapp
Then Ishouldsee"Blogtest"
And Ishouldsee"Blogbody"
And Ishouldsee"Comments(0)"
And Ipress"Comments(0)"intheapp
And Ipress"close"intheapp
And Isetthefield"Addacomment..."to"commenttest"intheapp
And Ipress"Savecomment"intheapp
Then Ishouldsee"Commentcreated"
And Ishouldsee"commenttest"
And Ipressthebackbuttonintheapp
And Ishouldsee"Comments(1)"
And Ipress"Comments(1)"intheapp
And Ipress"Delete"intheapp
And Ipress"trash"intheapp
And Ipress"Delete"near"Cancel"intheapp
Then Ishouldsee"Commentdeleted"
And Ishouldnotsee"commenttest"
And Ipressthebackbuttonintheapp
And Ishouldsee"Comments(0)"
@app@3.8.0@tablet@OK
Scenario: Add comments and delete comments tablet (blogs)
When Ientertheapp
And Ichangeviewportsizeto"1280x1080"
And Iloginas"teacher1"
Then theheadershouldbe"Acceptancetestsite"intheapp
And Ishouldsee"Course1"
And Ipress"Course1"near"Recentlyaccessedcourses"intheapp
And Ipress"menu"intheapp
And Ipress"Website"intheapp
And Iswitchtothebrowsertabopenedbytheapp
And Ifollow"Login"
And Iloginas"teacher1"
And Ifollow"C1"
And Ipress"Actionsmenu"
And Ifollow"Turneditingon"
And Ifollow"Addablock"
And Ifollow"Blogmenu"
And Ifollow"Addanentryaboutthiscourse"
And Isetthefield"Entrytitle"to"Blogtest"
And Isetthefield"Blogentrybody"to"Blogbody"
And Ipress"Savechanges"
And Iclosethebrowsertabopenedbytheapp
When Ientertheapp
And Ichangeviewportsizeto"1280x1080"
And Iloginas"student1"
Then theheadershouldbe"Acceptancetestsite"intheapp
And Ishouldsee"Course1"
And Ipress"Course1"near"Recentlyaccessedcourses"intheapp
And Ipress"Siteblog"intheapp
Then Ishouldsee"Blogtest"
And Ishouldsee"Blogbody"
And Ishouldsee"Comments(0)"
And Ipress"Comments(0)"intheapp
And Ipress"close"intheapp
And Isetthefield"Addacomment..."to"commenttest"intheapp
And Ipress"Savecomment"intheapp
Then Ishouldsee"Commentcreated"
And Ishouldsee"commenttest"
And Ipressthebackbuttonintheapp
And Ishouldsee"Comments(1)"
And Ipress"Comments(1)"intheapp
And Ipress"Delete"intheapp
And Ipress"trash"intheapp
And Ipress"Delete"near"Cancel"intheapp
Then Ishouldsee"Commentdeleted"
And Ishouldnotsee"commenttest"
And Ipressthebackbuttonintheapp
And Ishouldsee"Comments(0)"
@app@3.8.0@mobile@OK
Scenario: Add comments offline, delete comments offline and sync mobile (blogs)
When Ientertheapp
And Iloginas"teacher1"
Then theheadershouldbe"Acceptancetestsite"intheapp
And Ishouldsee"Course1"
And Ipress"Course1"near"Recentlyaccessedcourses"intheapp
And Ipress"menu"intheapp
And Ipress"Website"intheapp
And Iswitchtothebrowsertabopenedbytheapp
And Ifollow"Login"
And Iloginas"teacher1"
And Iclickon"Sidepanel""button"
And Ifollow"C1"
And Ipress"Actionsmenu"
And Ifollow"Turneditingon"
And Iclickon"Sidepanel""button"
And Ifollow"Addablock"
And Ifollow"Blogmenu"
And Ifollow"Addanentryaboutthiscourse"
And Isetthefield"Entrytitle"to"Blogtest"
And Isetthefield"Blogentrybody"to"Blogbody"
And Ipress"Savechanges"
And Iclosethebrowsertabopenedbytheapp
When Ientertheapp
And Iloginas"student1"
Then theheadershouldbe"Acceptancetestsite"intheapp
And Ishouldsee"Course1"
And Ipress"Course1"near"Recentlyaccessedcourses"intheapp
And Ipress"menu"intheapp
And Ipress"Siteblog"intheapp
Then Ishouldsee"Blogtest"
And Ishouldsee"Blogbody"
And Ishouldsee"Comments(0)"
And Ipress"Comments(0)"intheapp
And Iswitchofflinemodeto"true"
And Ipress"close"intheapp
And Isetthefield"Addacomment..."to"commenttest"intheapp
And Ipress"Savecomment"intheapp
Then Ishouldsee"Datastoredinthedevicebecauseitcouldn'tbesent.Itwillbesentautomaticallylater."
And Ishouldsee"Thereareofflinecommentstobesynchronised."
And Ishouldsee"commenttest"
And Ipressthebackbuttonintheapp
And Ishouldsee"Comments(0)"
And Ipress"Comments(0)"intheapp
And Iswitchofflinemodeto"false"
And Ipress"Displayoptions"intheapp
And Ipress"Synchronisenow"intheapp
Then Ishouldnotsee"Thereareofflinecommentstobesynchronised."
And Ishouldsee"commenttest"
And Ipressthebackbuttonintheapp
And Ishouldsee"Comments(1)"
And Ipress"Comments(1)"intheapp
And Iswitchofflinemodeto"true"
And Ipress"Delete"intheapp
And Ipress"trash"intheapp
And Ipress"Delete"near"Cancel"intheapp
Then Ishouldsee"Commentdeleted"
And Ishouldsee"Thereareofflinecommentstobesynchronised."
And Ishouldsee"Deletedoffline"
And Ishouldsee"commenttest"
And Ipressthebackbuttonintheapp
And Ishouldsee"Comments(1)"
And Ipress"Comments(1)"intheapp
And Iswitchofflinemodeto"false"
And Ipress"Displayoptions"intheapp
And Ipress"Synchronisenow"intheapp
Then Ishouldnotsee"Thereareofflinecommentstobesynchronised."