Add support for CI screenshot testing 50/30150/2
authorScott Murray <scott.murray@konsulko.com>
Wed, 31 Jul 2024 15:30:22 +0000 (11:30 -0400)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 1 Aug 2024 10:08:49 +0000 (10:08 +0000)
commit25b6a079d5fe9c1365d776298ae5230a4de1ba16
tree41e1dc22ba9cfb9a6b78755e928ac321cc97851c
parentf957ceb8e7220261be82ae8ba27a29ddad5daff2
Add support for CI screenshot testing

Rework the high-level App & AppView widgets a bit to allow
conditionally displaying a simple fixed pattern if the
HOMESCREEN_DEMO_CI environment variable is set to anything
other than "0".  The pattern displayed matches what the
Qt homescreen shows for this to allow the CI test to be
common.

Bug-AGL: SPEC-5203

Change-Id: I36ed77c91304e3b6cdbce6a7350831d52d20d378
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
lib/data/data_providers/app.dart
lib/export.dart
lib/presentation/screens/home/home_ci.dart [new file with mode: 0644]
pubspec.lock