Skip to content

Additional UI tests related to image optimization settings #19672

@SiobhyB

Description

@SiobhyB

When a user uploads media for the first time and hasn't already configured the optimization settings under App Settings, we display a popup. The popup informs them that image optimization is enabled by default, and allows them to turn that setting off if they'd like to.

Optimization popup Default App Settings

Whether or not the popup displays is determined by the shouldAdvertiseImageOptimization() function.

We already have OptimizeMediaUseCaseTest.kt, which is used in AddLocalMediaToPostUseCaseTest.kt to check images are optimised depending on if the setting’s on or off, amongst other relevant workflows. It would be nice to add some additional tests to ensure the setting is on by default for fresh installs, as well as to check that the popup displays in the specific scenarios it's mean to.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions