Questions tagged [flutter-integration-test]

Use this tag for questions about the Flutter integration_test package, used to write and run integration tests (end-to-end/GUI tests).

137 questions
0
votes
1 answer

How to test is google sign in works or not on flutter APP

I working on a flutter APP with my team. But once the ios/Runner/Info.plist change, the google sign-in was broken. I want to write a test to test this problem after this problem is solved. The way to re-produce this error: click the…
0
votes
2 answers

Reporters for Flutter integration testing

I am looking for examples of integrations among Flutter Integration library and test management tools like TestRail or Xray. For Cypress and other browser automation tools I can find plenty of solutions but for Flutter integration basically nothing.
0
votes
0 answers

The method 'containsKey' was called on null flutter

Before, my integration test works. After I pull an update of another developer my integration test fails with the following error: ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════ The following…
noyruto88
  • 767
  • 2
  • 18
  • 40
0
votes
1 answer

Flutter Integration Test: Fails on second screen

I wrote a basic Integration Test and had problems getting it to work. Basically I have a main screen that has a ÌconButton. If clicked it opens a secondary screen. My test looked like this: group('end-to-end test', () { testWidgets('test…
Josip Domazet
  • 2,246
  • 2
  • 14
  • 37
0
votes
1 answer

flutter driver chromedriver couldn't detect chrome

chromedriver couldn't open the chrome dart-debug-extension was installed but not detected versions are the same 99 how should i fix this? for more information i would insert flutter doctor -v output below flutter doctor [✓] Flutter (Channel stable,…
0
votes
1 answer

list of widgets of a dynamic app in integration test flutter

I am learning integration_test for my dynamic app. The home screen may contain any number (normally 9-13) of Widgets (including 4/6 bottom Nav items) of different types depending on the location and server configurations of that user. So, Home…
Humayun Kabir
  • 561
  • 2
  • 13
  • 27
0
votes
1 answer

Download file from download button, save to download folder on the local system

I am working in flutter web automation as fresher. I download the file from Download button present on the web. And downlaoded file by default download in PDF format. I just need to verify the download file name. Can anyone help me. class…
0
votes
2 answers

How can we test the fromDate and toDate in integration testing. following are the code for the Date

How to test the last and current 3 month date in the flutter. Is anyone having the solution for that. RichText( text: TextSpan(children: [ TextSpan( text:…
0
votes
1 answer

Flutter integration_test: Can't input integer, double values to tester.enterText() method?

I am developing integration_test for my flutter-web application ....wherein I encountered tester.enterText() method doesn't input integer, double value as its restricted its data type to only String type. What if my TextField accepts only numbers…
Rajesh Patil
  • 181
  • 2
  • 10
0
votes
2 answers

Flutter Image Picker integration tests

I am trying the solution for e2e test for image_picker from this link How to test ImagePicker in Flutter Driver? void main() { enableFlutterDriverExtension(); const MethodChannel channel = …
0
votes
1 answer

How to bring app to foreground in flutter integration test

I have an integration test which taps a text of phone number, then it opens the phone dial app which makes my app put to background. final firstNumber = find.byWidgetPredicate( (widget) => widget is RichText && tapTextSpan(widget,…
noyruto88
  • 767
  • 2
  • 18
  • 40
0
votes
1 answer

Flutter integration test raising an error "null check operator used on a null value"

import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; import 'package:integration_test/integration_test.dart'; import…
ssharkar
  • 57
  • 6
0
votes
0 answers

Can't figure out what's wrong from Flutter Integration Test response

I am trying to run/set up an integration test. I am Googling the response that is returned but I can't figure out what is wrong. I have: an integration_test folder with app_test.dart file within: import…
0
votes
1 answer

Is it possible to automate flutter gherkin test automation on CI/CD tool or remote server?

I have implemented automated tests in flutter using flutter gherkin and cucumber using flutter_gherking library. I am not sure if it's possible to run all these integration tests in any CI/CD tools i.e codemagic or anywhere else. The goal is to…
0
votes
1 answer

Powershell or CMD - I want to run two commands at the same time without waiting for the first command to finish

I would like to run two commands (it doesn't matter if it's in powershell or cmd). The commands are as follows. I try to run both at the same time but because chromedriver needs to be running - it hangs forever and never reaches the second…
1 2 3
9
10