playbook-ui/playbook-flutter

Use `/` between story and scenario in snapshot file name

lcdsmao opened this issue · 0 comments

Currently, playbook snapshot is using _ between story and scenario title:
https://github.com/ca-irvine/playbook-flutter/blob/e49b652d06363de395e22678728766b0d38d01f2/playbook_snapshot/lib/src/snapshot.dart#L36

How about replacing _ with / so file screenshot file structure becomes:

├── storyA
│   ├── scenario1.jpg
│   ├── scenario2.jpg
│   └── scenario3.jpg
└── storyB
    └── scenario1.jpg

This makes it easier to explore the Reg-suit report.