File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class LocalizationHelper {
1010
1111 fun getString (key : String ): String {
1212 val path = " ../wallet_app/lib/l10n"
13- val jsonFile = File (" $path /intl_` ${if (language == " NL" ) " nl" else " en" } ` .arb" )
13+ val jsonFile = File (" $path /intl_${if (language == " NL" ) " nl" else " en" } .arb" )
1414 val json = jsonFile.readText()
1515
1616 val moshi = Moshi .Builder ().add(KotlinJsonAdapterFactory ()).build()
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class DashboardTests : TestBase() {
4343 }
4444
4545 @RetryingTest(value = MAX_RETRY_COUNT , name = " {displayName} - {index}" )
46- @DisplayName(" 4. Tapping the card opens the card's details [UC 7.2] " )
46+ @DisplayName(" 4. Tapping the card opens the card's details. " )
4747 fun verifyCardDetailScreen () {
4848 dashboardScreen.clickPidCard()
4949
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ class SecurityConfirmPinTests : TestBase() {
2222 OnboardingNavigator ().toScreen(OnboardingScreen .SecurityConfirmPin )
2323
2424 pinScreen = PinScreen ()
25- pinScreen.enterPin(chosenPin)
2625 }
2726
2827 @RetryingTest(value = MAX_RETRY_COUNT , name = " {displayName} - {index}" )
Original file line number Diff line number Diff line change 11package navigator
22
3+ import navigator.screen.OnboardingScreen
34import screen.digid.DigidLoginMockWebPage
45import screen.digid.DigidLoginStartWebPage
56import screen.introduction.IntroductionConditionsScreen
Original file line number Diff line number Diff line change 11package screen.dashboard
22
3- import screen.home.HomeScreen
3+ import util.MobileActions
44
5- class DashboardScreen : HomeScreen () {
5+ class DashboardScreen : MobileActions () {
66
77 private val screen = find.byValueKey(" dashboardScreen" )
88
9+ private val menuButton = find.byToolTip(l10n.getString(" dashboardScreenTitle" ))
10+
911 private val pidIdCard = find.byValueKey(" com.example.pid" )
1012 private val pidAddressCard = find.byValueKey(" com.example.address" )
1113
@@ -25,5 +27,7 @@ class DashboardScreen : HomeScreen() {
2527 return pidY < addressY
2628 }
2729
30+ fun clickMenuButton () = clickElement(menuButton, false )
31+
2832 fun clickPidCard () = clickElement(pidIdCard, false )
2933}
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments