Skip to content

Commit 4d54e58

Browse files
authored
Update deck.gl to 9.1.3 (#729)
* Update deck.gl to 9.1.3 * Improve failing test
1 parent 692ba49 commit 4d54e58

File tree

3 files changed

+315
-176
lines changed

3 files changed

+315
-176
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@turf/envelope": "^7.1.0",
3636
"d3": "^7.3.0",
3737
"date-fns": "^2.28.0",
38-
"deck.gl": "^9.0.33",
38+
"deck.gl": "^9.1.3",
3939
"gatsby": "^5.13.7",
4040
"gatsby-plugin-csp": "^1.1.4",
4141
"gatsby-plugin-google-gtag": "5.13.1",

playwright/e2e/home.spec.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,13 @@ test.describe("Homepage", () => {
137137
await page.click('div[class="slider-slide slide-visible slide-current"]')
138138

139139
// wait for page load
140-
await page.waitForNavigation()
140+
await page.waitForURL("**/explore/campaigns/")
141141

142-
// Check if the URL includes "/explore/campaigns" and the header has the expected text
143-
expect(page.url()).toContain("/explore/campaigns")
142+
// check if Explore campaigns page was loaded with some region filter enabled
143+
const regionFilterChip = await page.textContent(
144+
"[data-cy=filter-chip]"
145+
)
146+
expect(regionFilterChip).toContain("region: ")
144147
})
145148
})
146149
})

0 commit comments

Comments
 (0)