diff --git a/lib/screens/onBoarding/8.dart b/lib/screens/onBoarding/8.dart index c98efbd..56733e2 100644 --- a/lib/screens/onBoarding/8.dart +++ b/lib/screens/onBoarding/8.dart @@ -106,13 +106,13 @@ class OnboardingStepTen extends StatelessWidget { // ), SizedBox(height: isTall ? 70 : 10), - if (isTall) - Text('${_generateWalletProvider.nbrWord + 1}', - key: Key('askedWord'), - style: TextStyle( - fontSize: 17, - color: Color(0xffD28928), - fontWeight: FontWeight.w400)), + + Text('${_generateWalletProvider.nbrWord + 1}', + key: Key('askedWord'), + style: TextStyle( + fontSize: isTall ? 17 : 10, + color: Color(0xffD28928), + fontWeight: FontWeight.w400)), SizedBox(height: isTall ? 10 : 0), Container( decoration: BoxDecoration( diff --git a/test_driver/app_test.dart b/test_driver/app_test.dart index 0511638..b5d99d2 100644 --- a/test_driver/app_test.dart +++ b/test_driver/app_test.dart @@ -93,12 +93,15 @@ void main() { await getText('step7'), "C'est le moment de noter votre phrase !"); await tapOn('goStep8'); - await Future.delayed(const Duration(milliseconds: 50)); + await Future.delayed(const Duration(milliseconds: 200)); String goodWord = words[int.parse( await getText('askedWord'), )]; + // await tapOn('inputWord'); + // await Future.delayed(const Duration(milliseconds: 500)); + // Enter the expected word await driver.enterText(goodWord);