-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#51827Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: contributor-productivityTeam-specific productivity, code health, technical debt.Team-specific productivity, code health, technical debt.engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.team-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Description
The strict mode policy ensures that the engine doesn't read or write to disk in a typical Flutter app. flutter/engine@dc93db5#diff-6c316cfa52e434f5c02f5921476fd3f8 added this policy.
However, this policy affects all tests including those that take screenshot tests. As a result, screenshot test cannot save the screenshot to disk.
A workaround could be to launch a separate activity that sets the policy, and then the test verifies that the app doesn't crash.
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: contributor-productivityTeam-specific productivity, code health, technical debt.Team-specific productivity, code health, technical debt.engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.team-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team