package Ġcom . quick bird stud ios . test . pages Ċ Ċ import Ġandroidx . test . espress o . Esp ress o . on View Ċ import Ġandroidx . test . espress o . action . View Actions Ċ import Ġandroidx . test . espress o . assertion . View Assertions . matches Ċ import Ġandroidx . test . espress o . matcher . View Matchers .* Ċ import Ġcom . quick bird stud ios . test . R Ċ Ċ internal Ġinterface ĠPage Test Ċ Ċ internal Ġfun ĠPage Test . test Title And Text ( title : ĠString , Ġinfo : ĠString ) Ġ{ ĊĠĠĠ Ġon View ( with Id ( R . id . info Text Title )). check ( matches ( with Text ( title ))) ĊĠĠĠ Ġon View ( with Id ( R . id . info Text Info )). check ( matches ( with Text ( info ))) Ċ } Ċ Ċ internal Ġfun ĠPage Test . check If Title Info And Continue Are Displayed () Ġ{ ĊĠĠĠ Ġon View ( with Id ( R . id . info Text Title )). check ( matches ( is Displayed ())) ĊĠĠĠ Ġon View ( with Id ( R . id . info Text Info )). check ( matches ( is Displayed ())) ĊĠĠĠ Ġon View ( with Id ( R . id . button _ continue )). perform ( View Actions . scrollTo ()) ĊĠĠĠ Ġon View ( with Id ( R . id . button _ continue )). check ( matches ( is Displayed ())) Ċ } Ċ Ċ internal Ġfun ĠPage Test . continue To Next Step () Ġ{ ĊĠĠĠ Ġon View ( with Id ( R . id . button _ continue )). check ( matches ( isEnabled ())) ĊĠĠĠ Ġon View ( with Id ( R . id . button _ continue )). perform ( View Actions . scrollTo (), ĠView Actions . click ()) Ċ } Ċ