Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ You can also check the
makes Visualize winding order agnostic and fixes a specific bug with newer
CCW geometries from Swisstopo where map diagrams were zoomed to the world
instead of Switzerland (older geometries all had CW winding order).
- Improve dimension values query performance.
- Improve dimension values query performance.
- Maintenance
- Remove Google Analytics integration (it is no longer in use)
- Set Maptiler API key from `MAPTILER_API_KEY` environment variable at
Expand All @@ -40,6 +40,7 @@ You can also check the
- Remove dependencies which used old versions of `node-fetch`
- Upgrade dependencies which used old versions of `nth-check`
- Updated `@deck.gl/*` packages and `fast-xml-parser`
- Upgrade playwright to v1.60
- Rename package
- Documentation
- Add publiccode.yml for discoverability
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
"@lingui/macro": "^4.0.0",
"@mdx-js/loader": "^1.6.22",
"@playwright-testing-library/test": "^4.5.0",
"@playwright/test": "^1.49.1",
"@playwright/test": "^1.60.0",
"@svgr/cli": "^7",
"@types/autosuggest-highlight": "^3.2.0",
"@types/clownface": "^2.0.7",
Expand Down
6 changes: 3 additions & 3 deletions e2e/tooltip.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ test("should keep correct position after scrolling", async ({
actions,
}) => {
await actions.chart.createFrom({
iri: "https://agriculture.ld.admin.ch/foag/cube/MilkDairyProducts/Consumption_Price_Month",
iri: "https://environment.ld.admin.ch/foen/ubd000502/8",
dataSource: "Prod",
});
await actions.editor.changeRegularChartType("Bars");
Expand All @@ -66,8 +66,8 @@ test("should keep correct position after scrolling", async ({
const rect0 = chart.locator('[data-index="0"]');
await rect0.hover({ force: true });
await sleep(3_000);
const rect50 = chart.locator('[data-index="50"]');
await rect50.hover({ force: true });
const rect30 = chart.locator('[data-index="30"]');
await rect30.hover({ force: true });
await sleep(3_000);
const tooltip = page.locator('[data-testid="chart-tooltip"]');
await tooltip.waitFor({ state: "attached", timeout: 1_000 });
Expand Down
4 changes: 2 additions & 2 deletions playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig, devices } from "@playwright/test";
import { defineConfig } from "@playwright/test";

/**
* Read environment variables from file.
Expand Down Expand Up @@ -60,7 +60,7 @@ export default defineConfig({
launchOptions: {
args: ["--disable-web-security"],
},
...devices["Desktop Chrome"],
//...devices["Desktop Chrome"],
},
},

Expand Down
28 changes: 14 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5362,12 +5362,12 @@
"@testing-library/dom" "^7.31.2"
wait-for-expect "^3.0.2"

"@playwright/test@^1.49.1":
version "1.49.1"
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.49.1.tgz#55fa360658b3187bfb6371e2f8a64f50ef80c827"
integrity sha512-Ky+BVzPz8pL6PQxHqNRW1k3mIyv933LML7HktS8uik0bUXNCdPhoS/kLihiO1tMf/egaJb4IutXd7UywvXEW+g==
"@playwright/test@^1.60.0":
version "1.60.0"
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.60.0.tgz#e696c31427e8882851235cd556dc2490c3206d97"
integrity sha512-O71yZIbAh/PxDMNGns37GHBIfrVkEVyn+AXyIa5dOTfb4/xNvRWV+Vv/NMbNCtODB/pO7vLlF2OTmMVLhmr7Ag==
dependencies:
playwright "1.49.1"
playwright "1.60.0"

"@pmmmwh/react-refresh-webpack-plugin@^0.5.11":
version "0.5.11"
Expand Down Expand Up @@ -17366,10 +17366,10 @@ pkg-up@^3.1.0:
dependencies:
find-up "^3.0.0"

playwright-core@1.49.1:
version "1.49.1"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.49.1.tgz#32c62f046e950f586ff9e35ed490a424f2248015"
integrity sha512-BzmpVcs4kE2CH15rWfzpjzVGhWERJfmnXmniSyKeRZUs9Ws65m+RGIi7mjJK/euCegfn3i7jvqWeWyHe9y3Vgg==
playwright-core@1.60.0:
version "1.60.0"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.60.0.tgz#24e0d9cc4730713db5dffcace29b5e4696b1907a"
integrity sha512-9bW6zvX/m0lEbgTKJ6YppOKx8H3VOPBMOCFh2irXFOT4BbHgrx5hPjwJYLT40Lu+4qtD36qKc/Hn56StUW57IA==

playwright-testing-library@^4.5.0:
version "4.5.0"
Expand All @@ -17379,12 +17379,12 @@ playwright-testing-library@^4.5.0:
"@testing-library/dom" "^7.31.2"
wait-for-expect "^3.0.2"

playwright@1.49.1:
version "1.49.1"
resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.49.1.tgz#830266dbca3008022afa7b4783565db9944ded7c"
integrity sha512-VYL8zLoNTBxVOrJBbDuRgDWa3i+mfQgDTrL8Ah9QXZ7ax4Dsj0MSq5bYgytRnDVVe+njoKnfsYkH3HzqVj5UZA==
playwright@1.60.0:
version "1.60.0"
resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.60.0.tgz#89710863a51f21112633ef8b6b182594d3bfd7b5"
integrity sha512-hheHdokM8cdqCb0lcE3s+zT4t4W+vvjpGxsZlDnikarzx8tSzMebh3UiFtgqwFwnTnjYQcsyMF8ei2mCO/tpeA==
dependencies:
playwright-core "1.49.1"
playwright-core "1.60.0"
optionalDependencies:
fsevents "2.3.2"

Expand Down
Loading