Skip to content

Commit 4e7dfb5

Browse files
VIA-245 Modify constant name in eligibility snapshot test for maintainability
1 parent 244b9e8 commit 4e7dfb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

e2e/snapshot/eligibility.snapshot.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ test.describe("Snapshot Testing - Eligibility", () => {
2626
test.use({ storageState: authContextFile });
2727

2828
test(key, async ({ page }, testInfo) => {
29-
const fileName = testInfo.file.split("/").pop()!;
29+
const testFileName = testInfo.file.split("/").pop()!;
3030
const projectName = testInfo.project.name;
3131

3232
const customScreenshotPath = pathForCustomScreenshots(
33-
fileName,
33+
testFileName,
3434
screenshotFileName,
3535
projectName
3636
);

0 commit comments

Comments
 (0)