Skip to content

Create automation for 'As a user I would like to be able to export a graph as a PNG #224' #313

@mwalker-scottlogic

Description

@mwalker-scottlogic

The feature implemented in As a user I would like to be able to export a graph as a PNG requires automation tests to check that the download functionality does not regress

A branch has been started here with a method to capture the downloaded image (see test 'Verify AQI graph can be downloaded as a PNG' in city_page.spec.ts).

Ideally, there will be a test for each chart. Still to be established - how to check it is correct, can playwright open the download and then do a snapshot test against a manually verified golden image? Or can we do a check that makes sure the download was successful / not corrupted

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