Skip to content

Launch activity with strict mode policy in scenario app #60635

@blasten

Description

@blasten

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

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: tests"flutter test", flutter_test, or one of our testsc: contributor-productivityTeam-specific productivity, code health, technical debt.engineflutter/engine related. See also e: labels.team-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions