/* Ċ Ġ* ĠCopyright Ġ( C ) Ġ 2 0 1 7 Ġ- Ġpresent ĠIn structure , ĠInc . Ċ Ġ* Ċ Ġ* ĠĠĠĠ ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* ĠĠĠĠ Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠĠĠĠ ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* ĠĠĠĠ Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* ĠĠĠĠ ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* ĠĠĠĠ Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* ĠĠĠĠ ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* ĠĠĠĠ ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* ĠĠĠĠ Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ* Ċ Ġ*/ Ċ package Ġcom . in structure . teacher . ui . pages Ċ Ċ import Ġcom . in structure . espress o . On View With Id Ċ import Ġcom . in structure . espress o . WaitFor View With Id Ċ import Ġcom . in structure . espress o . assert Displayed Ċ import Ġcom . in structure . espress o . click Ċ import Ġcom . in structure . espress o . page . Base Page Ċ import Ġcom . in structure . espress o . page . waitFor View With Text Ċ import Ġcom . in structure . so seed y . Assignment Ċ import Ġcom . in structure . teacher . R Ċ Ċ class ĠAssignment List Page Ġ: ĠBase Page () Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġassignment List Toolbar Ġby ĠOn View With Id ( R . id . assignment List Toolbar ) ĊĊĠĠĠ Ġprivate Ġval Ġassignment RecyclerView Ġby ĠOn View With Id ( R . id . assignment RecyclerView ) ĊĊĠĠĠ Ġ// Only Ġdisplayed Ġwhen Ġassignment Ġlist Ġis Ġempty ĊĠĠĠ Ġprivate Ġval Ġempty P anda View Ġby ĠWaitFor View With Id ( R . id . empty P anda View ) ĊĊĠĠĠ Ġ// Only Ġdisplayed Ġwhen Ġthere Ġare Ġgrad ing Ġperiods ĊĠĠĠ Ġprivate Ġval Ġgrad ing Period Header Ġby ĠWaitFor View With Id ( R . id . grading Period Container ) ĊĊĠĠĠ Ġfun Ġclick Assignment ( assignment : ĠAssignment ) Ġ{ ĊĠĠĠĠĠĠĠ ĠwaitFor View With Text ( assignment . name ). click () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġassert Display s No Assignments View () Ġ{ ĊĠĠĠĠĠĠĠ Ġempty P anda View . assert Displayed () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġassert Has Assignment ( assignment : ĠAssignment ) Ġ{ ĊĠĠĠĠĠĠĠ ĠwaitFor View With Text ( assignment . name ). assert Displayed () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġassert Has Grad ing Periods () Ġ{ ĊĠĠĠĠĠĠĠ Ġgrad ing Period Header . assert Displayed () ĊĠĠĠ Ġ} Ċ } Ċ