Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIN screen does not always show digit buttons 9 and 0 #248

Open
ivard opened this issue Oct 11, 2023 · 1 comment
Open

PIN screen does not always show digit buttons 9 and 0 #248

ivard opened this issue Oct 11, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@ivard
Copy link
Member

ivard commented Oct 11, 2023

The test fails half of the time with the following error:

java.lang.Exception: ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════
The following assertion was thrown running a test:
The finder "zero widgets with text "Prefer a shorter PIN?"
(considering only hit-testable ones) (ignoring offstage widgets)"
(used in a call to "tap()") could not find any matching widgets.
When the exception was thrown, this was the stack:
#0 WidgetController._getElementPoint (package:flutter_test/src/controller.dart:1294:7)
#1 WidgetController.getCenter (package:flutter_test/src/controller.dart:1233:12)
#2 WidgetController.tap (package:flutter_test/src/controller.dart:554:18)
#3 WidgetTesterUtil.tapAndSettle (file:///home/runner/work/irmamobile/irmamobile/integration_test/util.dart:15:11)
#4 main.<anonymous closure>.<anonymous closure> (file:///home/runner/work/irmamobile/irmamobile/integration_test/settings_test.dart:231:20)
<asynchronous suspension>
#5 testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:165:15)
<asynchronous suspension>
#6 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:982:5)
<asynchronous suspension>
The test description was:
change-pin

On some phones the buttons to enter the digits 9 and 0 sometimes fall off the screen. Not all failed test cases point in the direction of this, so it could be that there are more issues.

@ivard ivard added good first issue Good for newcomers test Something that is related to testing labels Nov 16, 2023
@ivard ivard added bug Something isn't working and removed test Something that is related to testing labels Dec 13, 2023
@ivard ivard changed the title Change pin integration test is unstable PIN screen does not always show digit buttons 9 and 0 Dec 13, 2023
@ivard ivard removed the good first issue Good for newcomers label Dec 13, 2023
@ivard
Copy link
Member Author

ivard commented Dec 13, 2023

Pixel 6a in Google Firebase Test Lab:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant