Skip to content

Commit 169f8f5

Browse files
committed
Update for 1 Issue
1 parent c32e2f4 commit 169f8f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e-tests/playwright/e2e/github-happy-path.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ test.describe.serial('GitHub Happy path', () => {
104104
await uiHelper.clickTab('Issues');
105105
const openIssues = await backstageShowcase.getGithubOpenIssues();
106106

107-
const issuesCountText = `All repositories (${openIssues.length} Issues)*`;
107+
const issuesCountText = `All repositories (${openIssues.length} Issue${openIssues.length === 1 ? '' : 's'})*`;
108108
await expect(page.locator(`text=${issuesCountText}`)).toBeVisible();
109109

110110
for (const issue of openIssues.slice(0, 5)) {

0 commit comments

Comments
 (0)