Skip to content

Bug: Can not give a query to "Play From Search Test" #41

Open
@avalanchas

Description

@avalanchas

Description

In the class TestDescriptor the playFromSearch in line 39 sets queryRequired to false.
Therefore, the query is never shown in the configuration dialog, the dialog only adds EditText fields for tests with this field set to true

How to reproduce

  • Install current version of the Media Controller Tester app
  • Test any app that declares "PLAY_FROM_SEARCH" support
  • Go to test suites, run either basic tests or auto tests -> "Play from Search Test" fails (if the app doesn't play anything from an empty search query

Expected behaviour

The test result card says

Enter the search query in the query field

So that's what I would expect, to be able to enter that. Furthermore, one might argue that an app should get a passing grade when the search query is empty and the player ends up in either the starting state or any other state than "error"

Devices, OS

All

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions