Skip to content

Instantly share code, notes, and snippets.

@miquelbeltran
Created September 28, 2017 11:51
Show Gist options
  • Select an option

  • Save miquelbeltran/c777504f085669ba31be48ed2ba8ab09 to your computer and use it in GitHub Desktop.

Select an option

Save miquelbeltran/c777504f085669ba31be48ed2ba8ab09 to your computer and use it in GitHub Desktop.
@Test
fun navigate_to_create_post_mitteilung_frage() {
ContentCreatorRobot.run {
given {
category("Mitteilung")
subCategory("Frage")
}
then {
title("Mitteilung - Frage")
subjectHintIs("Betreff")
bodyHintIs("Deine Mitteilung")
}
}
}
@Test
fun navigate_to_create_post_Suche_Interessen() {
text("Suche").click()
text("Gemeinsame Interessen").click()
text("Suche - Gemeinsame Interessen").isVisible()
view(R.id.publish_content_subject).hasHintText("Betreff")
view(R.id.publish_content_body).hasHintText("Deine Suche")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment