Skip to content

Bug - Pattern liquid testing #243

@delphine-demeulenaere

Description

@delphine-demeulenaere

Describe the bug
The CLI reads the YAML file as a string. When we run tests and define a pattern, those tests can include an alias, but the anchor was defined in a different section that gets filtered out when running the tests.

To Reproduce
Steps to reproduce the behavior:

silverfin run-test -f <firm_id> -h <handle> --pattern "pattern" Include a template test pattern that makes use of an alias in the Liquid test

Image

Expected behavior
For the pattern test to take into account anchors and aliases.

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions