Skip to content

Commit 82d51aa

Browse files
committed
python3Packages.viser: disable all tests/e2e
1 parent 6a8aed7 commit 82d51aa

1 file changed

Lines changed: 4 additions & 47 deletions

File tree

pkgs/development/python-modules/viser/default.nix

Lines changed: 4 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -152,59 +152,16 @@ buildPythonPackage (finalAttrs: {
152152
PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS = true;
153153
};
154154

155-
# flaky tests
155+
disabledTestPaths = [
156+
# too many flaky tests
157+
"tests/e2e"
158+
];
156159
disabledTests = [
157-
# AssertionError: Locator expected to be hidden
158-
"test_fuzzy_search_filters_commands[chromium]"
159-
"test_form_dirty_shows_on_sender[chromium]"
160-
161-
# AssertionError: Locator expected to be visible
162-
"test_modal_renders_with_content[chromium]"
163-
"test_rgb_color_picker_renders[chromium]"
164-
"test_rgb_server_update[chromium]"
165-
"test_rgba_color_picker_renders[chromium]"
166-
"test_vector2_renders[chromium]"
167-
"test_vector2_initial_values[chromium]"
168-
"test_vector3_renders[chromium]"
169-
"test_vector3_server_update[chromium]"
170-
"test_slider_renders[chromium]"
171-
"test_text_input_renders_with_value[chromium]"
172-
"test_number_input_renders[chromium]"
173-
"test_dropdown_renders[chromium]"
174-
"test_dropdown_with_initial_value[chromium]"
175-
"test_markdown_renders[chromium]"
176-
"test_folder_renders_and_contains_children[chromium]"
177-
"test_folder_collapse_toggle[chromium]"
178-
"test_server_updates_text_value[chromium]"
179-
"test_text_input_change_callback[chromium]"
180-
"test_dropdown_selection_callback[chromium]"
181-
"test_server_value_update_round_trip[chromium]"
182-
"test_form_dirty_clears_on_submit_to_peer[chromium]"
183-
184-
# playwright._impl._errors.TimeoutError: Locator.wait_for: Timeout 5000ms exceeded.
185-
"test_long_underscore_label_wraps_within_container[chromium]"
186-
"test_command_description_update[chromium]"
187-
"test_command_icon_update[chromium]"
188-
189-
# playwright._impl._errors.TargetClosedError: Browser.new_context: Target page, context or browser has been closed
190-
"test_late_joining_client_sees_dirty_form[chromium]"
191-
"test_per_client_form_dirty_is_isolated[chromium]"
192-
"test_late_joining_client_sees_state[chromium]"
193-
"test_scene_node_drag_callbacks[chromium]"
194-
"test_scene_node_drag_filter_rejects_wrong_modifier[chromium]"
195-
"test_form_dirty_syncs_to_peer[chromium]"
196-
197-
# AssertionError: Locator expected to have Value 'initial'
198-
"test_gui_state_sync_text[chromium]"
199-
200160
# assert 0 != 0
201161
# (only when xdist)
202162
"test_server_port_is_freed"
203163
];
204164

205-
# 96 failed, 577 passed, 14 warnings on aarch64-linux
206-
doInstallCheck = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64;
207-
208165
pythonImportsCheck = [
209166
"viser"
210167
];

0 commit comments

Comments
 (0)