Flutter Automation Part 1 - UI Testing with Screenshots from scratch using integration_test

Опубликовано: 15 Март 2026
на канале: Anton Krasov
3,903
83

In this tutorial, we will set up an integration test for our app, learn how to save screenshots, and fix a lot of issues ;)

Environment:

macOS 13.0.1 (22A400)
Flutter 3.3.8

Outline:
00:00 - Intro
00:45 - App Overview
01:15 - Testing system setup
08:20 - Verify setup on Android
09:45 - Saving a screenshot
17:25 - Saving a screenshot in a directory
20:10 - Onboarding navigation via integration test
35:15 - Pass environment variable to the test script
39:00 - Fix screenshots on iOs
46:00 - Cleanup
53:50 - Control single simulator from the dart script