semmet-angular 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semmet-angular",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "description": "Angular schematics that generate real, ARIA-conformant standalone components (Accordion, Tabs, Dialog, Disclosure, Tooltip...) with signals-based state and keyboard interaction built in.",
5
5
  "publisher": "danilodevsilva",
6
6
  "license": "MIT",
@@ -1,10 +1,15 @@
1
1
  import { expect, test } from '@playwright/test';
2
2
 
3
3
  test.describe('<%= classify(name) %>', () => {
4
- test('is rendered and reachable by its Angular selector', async ({ page }) => {
4
+ test('is visible when mounted in the application', async ({ page }) => {
5
5
  await page.goto('/');
6
6
 
7
7
  const component = page.locator('<%= selector %>').first();
8
+ test.skip(
9
+ (await component.count()) === 0,
10
+ 'Mount <<%= selector %> /> in a route or host component to enable this generated e2e smoke test.'
11
+ );
12
+
8
13
  await expect(component).toBeVisible();
9
14
  });
10
15
  });