@cfasim-ui/charts 0.1.1 → 0.1.2

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": "@cfasim-ui/charts",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "description": "Chart visualization components for cfasim-ui",
6
6
  "license": "Apache-2.0",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "reka-ui": "^2.9.2",
20
- "@cfasim-ui/shared": "0.1.1"
20
+ "@cfasim-ui/shared": "0.1.2"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "vue": "^3.5.0"
@@ -5,6 +5,7 @@ test("LineChart page renders demos", async ({ page }) => {
5
5
  await expect(page.locator("h1")).toBeVisible();
6
6
  const demos = page.locator(".demo-preview");
7
7
  await expect(demos.first()).toBeVisible();
8
- await expect(demos.first().locator("svg")).toBeVisible();
9
- await expect(demos.first().locator("svg path")).toBeAttached();
8
+ const chartSvg = demos.first().locator("svg").last();
9
+ await expect(chartSvg).toBeVisible();
10
+ await expect(chartSvg.locator("path")).toBeAttached();
10
11
  });