-
Notifications
You must be signed in to change notification settings - Fork 97
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
701d0d6
commit 87954bf
Showing
2 changed files
with
25 additions
and
0 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,9 @@ | ||
<pf-badge number="613">613</pf-badge> | ||
<pf-badge number="7">7</pf-badge> | ||
<pf-badge number="24">24</pf-badge> | ||
<pf-badge number="240">240</pf-badge> | ||
<pf-badge threshold="900" number="999">999</pf-badge> | ||
<pf-badge state="unread" number="7">7</pf-badge> | ||
<pf-badge state="unread" number="24">24</pf-badge> | ||
<pf-badge state="unread" number="240">240</pf-badge> | ||
<pf-badge state="unread" threshold="900" number="999">999</pf-badge> |
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,16 @@ | ||
import { SSRPage } from '@patternfly/pfe-tools/test/playwright/SSRPage.js'; | ||
import { test } from '@playwright/test'; | ||
|
||
const tagName = 'pf-badge'; | ||
|
||
test.describe(tagName, () => { | ||
test('ssr', async ({ page }) => { | ||
const fixture = new SSRPage(tagName, page, { | ||
demoURL: new URL('../demo/ssr.html', import.meta.url), | ||
importSpecifiers: [ | ||
'@patternfly/elements/pf-badge/pf-badge.js', | ||
], | ||
}); | ||
await fixture.snapshot(); | ||
}); | ||
}); |