Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class ProjectBuildTest : TestCase() {
run {
navigateToMainScreen()
clickCreateProjectHomeScreen()
step("Select the navigation drawer project") {
step("Select the bottom navigation project") {
selectTemplate(R.string.template_navigation_tabs)
}
selectJavaLanguage()
Expand All @@ -94,7 +94,7 @@ class ProjectBuildTest : TestCase() {
run {
navigateToMainScreen()
clickCreateProjectHomeScreen()
step("Select the navigation drawer project") {
step("Select the bottom navigation project") {
selectTemplate(R.string.template_navigation_tabs)
}
selectKotlinLanguage()
Expand All @@ -103,6 +103,34 @@ class ProjectBuildTest : TestCase() {
}
}

@Test
fun test_projectBuild_tabbedActivityProject_java() {
run {
navigateToMainScreen()
clickCreateProjectHomeScreen()
step("Select the tabbed activity project") {
selectTemplate(R.string.template_tabs)
}
selectJavaLanguage()
clickCreateProjectProjectSettings()
initializeProjectAndCancelBuild()
}
}

@Test
fun test_projectBuild_tabbedActivityProject_kotlin() {
run {
navigateToMainScreen()
clickCreateProjectHomeScreen()
step("Select the tabbed activity project") {
selectTemplate(R.string.template_tabs)
}
selectKotlinLanguage()
clickCreateProjectProjectSettings()
initializeProjectAndCancelBuild()
}
}

private fun TestContext<Unit>.navigateToMainScreen() {
step("Initialize the app and navigate to the Main Screen") {
scenario(NavigateToMainScreenScenario())
Expand Down