Skip to content

Commit 39351ae

Browse files
authored
Wrong case in no-projects copy on homepage (#6636)
Fixes #6635
1 parent e8e7c22 commit 39351ae

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

e2e/playwright/native-file-menu.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ test.describe(
446446
// Core dump and refresh magic number timeout
447447
await page.waitForTimeout(7000)
448448
const actual = page.getByText(
449-
'No Projects found, ready to make your first one?'
449+
'No projects found, ready to make your first one?'
450450
)
451451
await expect(actual).toBeVisible()
452452
})

e2e/playwright/projects.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ test.describe(`Project management commands`, () => {
837837
name: 'Submit command',
838838
})
839839
const toastMessage = page.getByText(`Successfully deleted`)
840-
const noProjectsMessage = page.getByText('No Projects found')
840+
const noProjectsMessage = page.getByText('No projects found')
841841

842842
await test.step(`Setup`, async () => {
843843
await page.setBodyDimensions({ width: 1200, height: 500 })
@@ -949,7 +949,7 @@ test.describe(`Project management commands`, () => {
949949
name: 'Submit command',
950950
})
951951
const toastMessage = page.getByText(`Successfully deleted`)
952-
const noProjectsMessage = page.getByText('No Projects found')
952+
const noProjectsMessage = page.getByText('No projects found')
953953

954954
await test.step(`Setup`, async () => {
955955
await page.setBodyDimensions({ width: 1200, height: 500 })
@@ -1265,7 +1265,7 @@ test(
12651265
})
12661266

12671267
await test.step('Check that the home page is empty', async () => {
1268-
await expect(page.getByText('No Projects found')).toBeVisible()
1268+
await expect(page.getByText('No projects found')).toBeVisible()
12691269
})
12701270

12711271
await test.step('Check we can still create a project', async () => {
@@ -1434,8 +1434,8 @@ test(
14341434
// Constants and locators
14351435
const projectLinks = page.getByTestId('project-link')
14361436

1437-
// expect to see text "No Projects found"
1438-
await expect(page.getByText('No Projects found')).toBeVisible()
1437+
// expect to see text "No projects found"
1438+
await expect(page.getByText('No projects found')).toBeVisible()
14391439

14401440
await createProject({ name: 'project-000', page, returnHome: true })
14411441
await expect(projectLinks.getByText('project-000')).toBeVisible()
@@ -1693,7 +1693,7 @@ test(
16931693

16941694
await homePage.projectsLoaded()
16951695

1696-
await expect(page.getByText('No Projects found')).toBeVisible()
1696+
await expect(page.getByText('No projects found')).toBeVisible()
16971697
await createProject({ name: 'project-000', page, returnHome: true })
16981698
await expect(
16991699
page.getByTestId('project-link').filter({ hasText: 'project-000' })

src/routes/Home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ function ProjectGrid({
465465
</ul>
466466
) : (
467467
<p className="p-4 my-8 border border-dashed rounded border-chalkboard-30 dark:border-chalkboard-70">
468-
No Projects found
468+
No projects found
469469
{projects.length === 0
470470
? ', ready to make your first one?'
471471
: ` with the search term "${query}"`}

0 commit comments

Comments
 (0)