Skip to content

SVG output isn't ordered, making comparisons across different CI machines impossible... #435

@FishSlice75

Description

@FishSlice75

We now output SVGs, and normalise the output as much as we can (IDs etc), but sometimes the params are coming out in different orders....

Image

Ie, this is the BeyondCompare view of two the same image (Golden Test Master on the left, CI machine output on the right).

The images are identical, except the ordering of the parameters "style" and "viewbox" are reversed, making test comparisons impossible without significant pre-processing. Is it possible to get Kaleido to output the same order of params every time, regardless of machine used?

I guess the 2nd question here is, if Style is blank, why is it even there?

Thanks
Si

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