Skip to content

Commit

Permalink
Update histoireScreenshots.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
hinogi committed Jan 17, 2024
1 parent 96c707b commit 46e13de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crawler/histoireScreenshots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ const generateShotItemsForStory = (
for (const variant of variants) {
const shotName =
config.shotNameGenerator?.({ ...variant, shotMode: 'histoire' }) ??
${story.id}_${variant.title};
`${story.id}_${variant.title}`;
const label = generateLabel({ browser });
const fileNameWithExt = `${shotName}${label}.png`;

shotItems.push({
shotMode: 'histoire',
id: `${variant.id}${label}`,
id: `${story.id}_${variant.id}${label}`,
shotName: `${shotName}${label}`,
url: `${baseUrl}/__sandbox.html?storyId=${story.id}&variantId=${variant.id}`,
filePathBaseline: isPlatformModeConfig(config)
Expand Down

0 comments on commit 46e13de

Please sign in to comment.