package Ġuk . n hs . n hs x . covid 1 9 . android . app . about Ċ Ċ import Ġorg . junit . Test Ċ import Ġuk . n hs . n hs x . covid 1 9 . android . app . test helpers . base . Esp ress o Test Ċ import Ġuk . n hs . n hs x . covid 1 9 . android . app . test helpers . robots . Edit Postal District Robot Ċ import Ġuk . n hs . n hs x . covid 1 9 . android . app . test helpers . robots . Local Authority Robot Ċ Ċ class ĠEdit Postal District Activity Test Ġ: ĠE sp ress o Test () Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġedit Postal District Robot Ġ= ĠEdit Postal District Robot () ĊĠĠĠ Ġprivate Ġval Ġlocal Authority Robot Ġ= ĠLocal Authority Robot () ĊĊĠĠĠ Ġprivate Ġval Ġinvalid Post District Code Ġ= Ġ" INV " ĊĠĠĠ Ġprivate Ġval Ġvalid Post District Code Ġ= Ġ" CM 2 " ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġedit Postal District Screen Shows () Ġ{ ĊĠĠĠĠĠĠĠ Ġstart Test Activity < Edit Postal District Activity >() ĊĊĠĠĠĠĠĠĠ Ġedit Postal District Robot . check Activity Is Displayed () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġclick Save Post District Code When Code IsEmpty _ shows ErrorMessage () Ġ{ ĊĠĠĠĠĠĠĠ Ġstart Test Activity < Edit Postal District Activity >() ĊĊĠĠĠĠĠĠĠ Ġedit Postal District Robot . check Activity Is Displayed () ĊĊĠĠĠĠĠĠĠ Ġedit Postal District Robot . click Save Post District Code () ĊĊĠĠĠĠĠĠĠ ĠwaitFor Ġ{ Ġedit Postal District Robot . check Invalid Post District Error Is Displayed () Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġclick Save Post District Code When Code Is Invalid _ shows ErrorMessage () Ġ{ ĊĠĠĠĠĠĠĠ Ġstart Test Activity < Edit Postal District Activity >() ĊĊĠĠĠĠĠĠĠ Ġedit Postal District Robot . check Activity Is Displayed () ĊĊĠĠĠĠĠĠĠ Ġedit Postal District Robot . enter Post District Code ( invalid Post District Code ) ĊĊĠĠĠĠĠĠĠ Ġedit Postal District Robot . click Save Post District Code () ĊĊĠĠĠĠĠĠĠ ĠwaitFor Ġ{ Ġedit Postal District Robot . check Invalid Post District Error Is Displayed () Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġclick Save Post District Code When Code IsValid _ opens Local Authority Activity () Ġ{ ĊĠĠĠĠĠĠĠ Ġstart Test Activity < Edit Postal District Activity >() ĊĊĠĠĠĠĠĠĠ Ġedit Postal District Robot . check Activity Is Displayed () ĊĊĠĠĠĠĠĠĠ Ġedit Postal District Robot . enter Post District Code ( valid Post District Code ) ĊĊĠĠĠĠĠĠĠ Ġedit Postal District Robot . click Save Post District Code () ĊĊĠĠĠĠĠĠĠ Ġlocal Authority Robot . check Activity Is Displayed () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġuser T ries To Change PostCode To NotSupported _ error Is Shown () Ġ{ ĊĠĠĠĠĠĠĠ Ġstart Test Activity < Edit Postal District Activity >() ĊĊĠĠĠĠĠĠĠ Ġedit Postal District Robot . check Activity Is Displayed () ĊĊĠĠĠĠĠĠĠ Ġedit Postal District Robot . enter Post District Code (" BT 1 ") ĊĊĠĠĠĠĠĠĠ Ġedit Postal District Robot . click Save Post District Code () ĊĊĠĠĠĠĠĠĠ Ġedit Postal District Robot . check Error Container For NotSupported PostCode Is Displayed () ĊĊĠĠĠĠĠĠĠ Ġedit Postal District Robot . check Error Title For NotSupported PostCode Is Displayed () ĊĠĠĠ Ġ} Ċ } Ċ