Skip to content
Snippets Groups Projects

Resolve "cookie banner for matomo"

Merged Piotr Gawron requested to merge 301-cookie-banner-for-matomo into development
13 files
+ 157
21
Compare changes
  • Side-by-side
  • Inline
Files
13
  • 7b374b9b
    Merge branch... · 7b374b9b
    Piotr Gawron authored
    Merge branch '300-clicking-on-pathway-compartment-in-pathway-and-compartment-view-does-not-work' into 'main'
    
    Resolve "clicking on pathway/compartment in pathway and compartment view does not work"
    
    See merge request !263
@@ -47,7 +47,7 @@ describe('onMapRightClick - util', () => {
minZoom: 2,
maxZoom: 9,
};
const handler = onMapRightClick(mapSize, modelId, dispatch);
const handler = onMapRightClick(mapSize, modelId, dispatch, false);
const coordinate = [90, 90];
const pixel = [250, 250];
@@ -74,7 +74,7 @@ describe('onMapRightClick - util', () => {
minZoom: 2,
maxZoom: 9,
};
const handler = onMapRightClick(mapSize, modelId, dispatch);
const handler = onMapRightClick(mapSize, modelId, dispatch, false);
const coordinate = [90, 90];
const point = { x: 180.0008084837557, y: 179.99919151624428 };
const pixel = [250, 250];
@@ -110,7 +110,7 @@ describe('onMapRightClick - util', () => {
.reply(HttpStatusCode.Ok, [ELEMENT_SEARCH_RESULT_MOCK_ALIAS]);
it('does fire search result for right click action handler', async () => {
const handler = onMapRightClick(mapSize, modelId, dispatch);
const handler = onMapRightClick(mapSize, modelId, dispatch, false);
await handler(coordinate, pixel);
await waitFor(() => expect(handleSearchResultForRightClickActionSpy).toBeCalled());
});
@@ -139,7 +139,7 @@ describe('onMapRightClick - util', () => {
.reply(HttpStatusCode.Ok, [ELEMENT_SEARCH_RESULT_MOCK_REACTION]);
it('does fire search result for right click action - handle reaction', async () => {
const handler = onMapRightClick(mapSize, modelId, dispatch);
const handler = onMapRightClick(mapSize, modelId, dispatch, false);
await handler(coordinate, pixel);
await waitFor(() => expect(handleSearchResultForRightClickActionSpy).toBeCalled());
});
Loading