def METHOD_NAME(client, empty_index):
    """Tests getting the global tasks list after populating an index."""
    empty_index()
    tasks = client.get_tasks(
        {"indexUids": [common.INDEX_UID], "statuses": ["succeeded"], "types": ["indexCreation"]}
    )
    assert len(tasks.results) >= 1