Skip to content

Support on_change callback functions and if custom key is passed use it in session state #481

Support on_change callback functions and if custom key is passed use it in session state

Support on_change callback functions and if custom key is passed use it in session state #481

Triggered via pull request December 19, 2024 15:58
Status Failure
Total duration 3m 7s
Artifacts 1

run_tests_each_PR.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

38 errors and 2 warnings
build (3.12): tests/test_frontend.py#L311
test_dynamic_feature_group_update[chromium] AssertionError: Locator expected to be visible Actual value: False Call log: - LocatorAssertions.to_be_visible with timeout 5000ms - - waiting for get_by_text("\"fillColor\"") - 9 × locator resolved to <span class="token token string">"fillColor"</span> - - unexpected value "hidden"
build (3.12): tests/test_package.py#L10
test_map assert 'var map_div = L.map(\n "map_div",\n {\n center: [0.0, 0.0],\n crs: L.CRS.EPSG3857,\n zoom: 1,\n zoomControl: true,\n preferCanvas: false,\n }\n);' in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...false,\n "opacity": 1,\n}\n\n );\n\n\n tile_layer_div_0.addTo(map_div);\n\nvar drawnItems = [];'
build (3.12): tests/test_package.py#L10
test_map assert 'var map_div = L.map(\n "map_div",\n {\n center: [0.0, 0.0],\n crs: L.CRS.EPSG3857,\n zoom: 1,\n zoomControl: true,\n preferCanvas: false,\n }\n);' in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...false,\n "opacity": 1,\n}\n\n );\n\n\n tile_layer_div_0.addTo(map_div);\n\nvar drawnItems = [];'
build (3.12): tests/test_package.py#L10
test_map assert 'var map_div = L.map(\n "map_div",\n {\n center: [0.0, 0.0],\n crs: L.CRS.EPSG3857,\n zoom: 1,\n zoomControl: true,\n preferCanvas: false,\n }\n);' in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...false,\n "opacity": 1,\n}\n\n );\n\n\n tile_layer_div_0.addTo(map_div);\n\nvar drawnItems = [];'
build (3.12): tests/test_package.py#L10
test_map assert 'var map_div = L.map(\n "map_div",\n {\n center: [0.0, 0.0],\n crs: L.CRS.EPSG3857,\n zoom: 1,\n zoomControl: true,\n preferCanvas: false,\n }\n);' in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...false,\n "opacity": 1,\n}\n\n );\n\n\n tile_layer_div_0.addTo(map_div);\n\nvar drawnItems = [];'
build (3.12): tests/test_package.py#L55
test_draw_support assert "map_div.on('draw:created', function(e) {\n drawnItems.addLayer(e.layer);\n});" in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...yId(\'export\').setAttribute(\n \'download\', "data.geojson"\n );\n }\n\n'
build (3.12): tests/test_package.py#L55
test_draw_support assert "map_div.on('draw:created', function(e) {\n drawnItems.addLayer(e.layer);\n});" in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...yId(\'export\').setAttribute(\n \'download\', "data.geojson"\n );\n }\n\n'
build (3.12): tests/test_package.py#L55
test_draw_support assert "map_div.on('draw:created', function(e) {\n drawnItems.addLayer(e.layer);\n});" in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...yId(\'export\').setAttribute(\n \'download\', "data.geojson"\n );\n }\n\n'
build (3.12): tests/test_package.py#L55
test_draw_support assert "map_div.on('draw:created', function(e) {\n drawnItems.addLayer(e.layer);\n});" in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...yId(\'export\').setAttribute(\n \'download\', "data.geojson"\n );\n }\n\n'
build (3.12)
Process completed with exit code 1.
build (3.9)
The job was canceled because "_3_12" failed.
build (3.9): tests/test_frontend.py#L309
test_dynamic_feature_group_update[chromium] AssertionError: Locator expected to be visible Actual value: False Call log: - LocatorAssertions.to_be_visible with timeout 5000ms - - waiting for get_by_text("\"fillColor\"") - 9 × locator resolved to <span class="token token string">"fillColor"</span> - - unexpected value "hidden"
build (3.9): tests/test_package.py#L10
test_map assert 'var map_div = L.map(\n "map_div",\n {\n center: [0.0, 0.0],\n crs: L.CRS.EPSG3857,\n zoom: 1,\n zoomControl: true,\n preferCanvas: false,\n }\n);' in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...false,\n "opacity": 1,\n}\n\n );\n\n\n tile_layer_div_0.addTo(map_div);\n\nvar drawnItems = [];'
build (3.9): tests/test_package.py#L10
test_map assert 'var map_div = L.map(\n "map_div",\n {\n center: [0.0, 0.0],\n crs: L.CRS.EPSG3857,\n zoom: 1,\n zoomControl: true,\n preferCanvas: false,\n }\n);' in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...false,\n "opacity": 1,\n}\n\n );\n\n\n tile_layer_div_0.addTo(map_div);\n\nvar drawnItems = [];'
build (3.9): tests/test_package.py#L10
test_map assert 'var map_div = L.map(\n "map_div",\n {\n center: [0.0, 0.0],\n crs: L.CRS.EPSG3857,\n zoom: 1,\n zoomControl: true,\n preferCanvas: false,\n }\n);' in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...false,\n "opacity": 1,\n}\n\n );\n\n\n tile_layer_div_0.addTo(map_div);\n\nvar drawnItems = [];'
build (3.9): tests/test_package.py#L10
test_map assert 'var map_div = L.map(\n "map_div",\n {\n center: [0.0, 0.0],\n crs: L.CRS.EPSG3857,\n zoom: 1,\n zoomControl: true,\n preferCanvas: false,\n }\n);' in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...false,\n "opacity": 1,\n}\n\n );\n\n\n tile_layer_div_0.addTo(map_div);\n\nvar drawnItems = [];'
build (3.9): tests/test_package.py#L55
test_draw_support assert "map_div.on('draw:created', function(e) {\n drawnItems.addLayer(e.layer);\n});" in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...yId(\'export\').setAttribute(\n \'download\', "data.geojson"\n );\n }\n\n'
build (3.9): tests/test_package.py#L55
test_draw_support assert "map_div.on('draw:created', function(e) {\n drawnItems.addLayer(e.layer);\n});" in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...yId(\'export\').setAttribute(\n \'download\', "data.geojson"\n );\n }\n\n'
build (3.9): tests/test_package.py#L55
test_draw_support assert "map_div.on('draw:created', function(e) {\n drawnItems.addLayer(e.layer);\n});" in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...yId(\'export\').setAttribute(\n \'download\', "data.geojson"\n );\n }\n\n'
build (3.9): tests/test_package.py#L55
test_draw_support assert "map_div.on('draw:created', function(e) {\n drawnItems.addLayer(e.layer);\n});" in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...yId(\'export\').setAttribute(\n \'download\', "data.geojson"\n );\n }\n\n'
build (3.9)
The operation was canceled.
build (3.11)
The job was canceled because "_3_12" failed.
build (3.11): tests/test_frontend.py#L311
test_dynamic_feature_group_update[chromium] AssertionError: Locator expected to be visible Actual value: False Call log: - LocatorAssertions.to_be_visible with timeout 5000ms - - waiting for get_by_text("\"fillColor\"") - 9 × locator resolved to <span class="token token string">"fillColor"</span> - - unexpected value "hidden"
build (3.11): tests/test_frontend.py#L417
test_frame_height_matches_content_height[chromium] AssertionError: assert '2025px' == '720px' - 720px + 2025px
build (3.11): tests/test_frontend.py#L417
test_frame_height_matches_content_height[chromium] AssertionError: assert '2025px' == '720px' - 720px + 2025px
build (3.11): tests/test_package.py#L10
test_map assert 'var map_div = L.map(\n "map_div",\n {\n center: [0.0, 0.0],\n crs: L.CRS.EPSG3857,\n zoom: 1,\n zoomControl: true,\n preferCanvas: false,\n }\n);' in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...false,\n "opacity": 1,\n}\n\n );\n\n\n tile_layer_div_0.addTo(map_div);\n\nvar drawnItems = [];'
build (3.11): tests/test_package.py#L10
test_map assert 'var map_div = L.map(\n "map_div",\n {\n center: [0.0, 0.0],\n crs: L.CRS.EPSG3857,\n zoom: 1,\n zoomControl: true,\n preferCanvas: false,\n }\n);' in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...false,\n "opacity": 1,\n}\n\n );\n\n\n tile_layer_div_0.addTo(map_div);\n\nvar drawnItems = [];'
build (3.11): tests/test_package.py#L10
test_map assert 'var map_div = L.map(\n "map_div",\n {\n center: [0.0, 0.0],\n crs: L.CRS.EPSG3857,\n zoom: 1,\n zoomControl: true,\n preferCanvas: false,\n }\n);' in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...false,\n "opacity": 1,\n}\n\n );\n\n\n tile_layer_div_0.addTo(map_div);\n\nvar drawnItems = [];'
build (3.11): tests/test_package.py#L10
test_map assert 'var map_div = L.map(\n "map_div",\n {\n center: [0.0, 0.0],\n crs: L.CRS.EPSG3857,\n zoom: 1,\n zoomControl: true,\n preferCanvas: false,\n }\n);' in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...false,\n "opacity": 1,\n}\n\n );\n\n\n tile_layer_div_0.addTo(map_div);\n\nvar drawnItems = [];'
build (3.11): tests/test_package.py#L55
test_draw_support assert "map_div.on('draw:created', function(e) {\n drawnItems.addLayer(e.layer);\n});" in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...yId(\'export\').setAttribute(\n \'download\', "data.geojson"\n );\n }\n\n'
build (3.11): tests/test_package.py#L55
test_draw_support assert "map_div.on('draw:created', function(e) {\n drawnItems.addLayer(e.layer);\n});" in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...yId(\'export\').setAttribute(\n \'download\', "data.geojson"\n );\n }\n\n'
build (3.11): tests/test_package.py#L55
test_draw_support assert "map_div.on('draw:created', function(e) {\n drawnItems.addLayer(e.layer);\n});" in '\n var map_div = L.map(\n "map_div",\n {\n center: [0.0, ...yId(\'export\').setAttribute(\n \'download\', "data.geojson"\n );\n }\n\n'
build (3.13)
The job was canceled because "_3_12" failed.
build (3.13): tests/test_frontend.py#L264
test_responsiveness[chromium] assert 0 > 100
build (3.13)
The operation was canceled.
build (3.10)
The job was canceled because "_3_12" failed.
build (3.10): tests/test_frontend.py#L204
test_popup_text[chromium] playwright._impl._errors.TimeoutError: Locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator("iframe[title=\"streamlit_folium\\.st_folium\"]").content_frame.get_by_role("img").first
build (3.10)
The operation was canceled.
build (3.12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "screenshots". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
screenshots
743 KB