Updated on 2026-08-14
This commit is contained in:
parent
2a5a05fe83
commit
6d44d2b258
1 changed files with 28 additions and 0 deletions
|
|
@ -370,4 +370,32 @@ class DetailsTest : BaseTestCase() {
|
|||
onReferralProgramScreen { participateButton.assertIsDisplayed() }
|
||||
}
|
||||
}
|
||||
|
||||
@AllureId("222")
|
||||
@DisplayName("Details: ToS screen opening")
|
||||
@Test
|
||||
fun tosScreenOpeningTest() {
|
||||
val tosUrl = "https://tangem.com/tangem_tos.html"
|
||||
|
||||
setupHooks().run {
|
||||
step("Open 'Main screen'") {
|
||||
openMainScreen()
|
||||
}
|
||||
step("Open wallet details") {
|
||||
onMainScreenTopBar { moreButton.clickWithAssertion() }
|
||||
}
|
||||
step("Open 'ToS' screen") {
|
||||
onDetailsScreen { toSButton.clickWithAssertion() }
|
||||
}
|
||||
step("Verify 'ToS' screen opened") {
|
||||
onDisclaimerScreen {
|
||||
title.assertIsDisplayed()
|
||||
webView.assertIsDisplayed()
|
||||
webView.assertContentDescriptionContains(tosUrl, true)
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue