-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test to validate subrouting * Update test expectations [skip ci] * core tests need to prep the page * Update test expectations [skip ci] --------- Co-authored-by: github-actions <[email protected]>
- Loading branch information
1 parent
9aa976f
commit 6a3dbe0
Showing
6 changed files
with
38 additions
and
1 deletion.
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
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,24 @@ | ||
import { expect } from '@playwright/test' | ||
import { comfyPageFixture as test } from './ComfyPage' | ||
|
||
test.describe('basic frontend page', () => { | ||
test('Basic front page loads and renders at all', async ({ comfyPage }) => { | ||
await comfyPage.gotoPath('/') | ||
await comfyPage.prepPage() | ||
await expect(comfyPage.canvas).toHaveScreenshot( | ||
'basic-frontend-page-content.png' | ||
) | ||
}) | ||
}) | ||
|
||
test.describe('subrouting validation', () => { | ||
test('subrouted installs of the comfy frontend load as intended', async ({ | ||
comfyPage | ||
}) => { | ||
await comfyPage.gotoPath('/testsubrouteindex') | ||
await comfyPage.prepPage() | ||
await expect(comfyPage.canvas).toHaveScreenshot( | ||
'subrouted-frontend-page-content.png' | ||
) | ||
}) | ||
}) |
Binary file added
BIN
+99.9 KB
..._tests/core.spec.ts-snapshots/basic-frontend-page-content-chromium-2x-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+96.4 KB
...ser_tests/core.spec.ts-snapshots/basic-frontend-page-content-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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