-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2cd761
commit 5204c7b
Showing
8 changed files
with
92 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { test, expect } from '@playwright/test'; | ||
|
||
test('navigates to page', async ({ page }) => { | ||
await page.goto('/art'); | ||
|
||
await expect(page.getByText('Coming Soon')).toBeInViewport() | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { test, expect } from '@playwright/test'; | ||
|
||
test('navigates to page', async ({ page }) => { | ||
await page.goto('/writing'); | ||
|
||
await expect(page.getByText('Coming Soon')).toBeInViewport() | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { FC } from 'react' | ||
import Container from '@mui/material/Container' | ||
|
||
interface FineArtProps { | ||
} | ||
|
||
const FineArt: FC<FineArtProps> = () => { | ||
return <Container>Coming Soon</Container> | ||
} | ||
|
||
export default FineArt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { describe, expect, it } from 'vitest' | ||
import { render } from '../../../tests/customRender' | ||
import { screen } from '@testing-library/react' | ||
import FineArt from '../FineArt' | ||
|
||
describe('FineArt Route', () => { | ||
it('should display the FineArt Route', async () => { | ||
render(<FineArt />) | ||
const text = await screen.findByText('Coming Soon') | ||
expect(text).toBeVisible() | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { FC } from 'react' | ||
import Container from '@mui/material/Container' | ||
|
||
interface WritingProps { | ||
} | ||
|
||
const Writing: FC<WritingProps> = () => { | ||
return <Container>Coming Soon</Container> | ||
} | ||
|
||
export default Writing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { describe, expect, it } from 'vitest' | ||
import { render } from '../../../tests/customRender' | ||
import { screen } from '@testing-library/react' | ||
import Writing from '../Writing' | ||
|
||
describe('FineArt Route', () => { | ||
it('should display the FineArt Route', async () => { | ||
render(<Writing />) | ||
const text = await screen.findByText('Coming Soon') | ||
expect(text).toBeVisible() | ||
}) | ||
}) |