Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
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
Prev Previous commit
Add skip to testWithSemantics.
  • Loading branch information
matanlurey committed Feb 6, 2024
commit 5e7326545d0c9da1900806f2d06ef5534518f6bf
7 changes: 4 additions & 3 deletions lib/web_ui/test/engine/pointer_binding_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;

import '../../lib/src/engine.dart';
import 'keyboard_converter_test.dart';

const int _kNoButtonChange = -1;
Expand Down Expand Up @@ -2621,8 +2620,9 @@ void _testClickDebouncer({required PointerBinding Function() getBinding}) {

void testWithSemantics(
String description,
Future<void> Function() body,
) {
Future<void> Function() body, {
Object? skip,
}) {
test(
description,
() async {
Expand All @@ -2632,6 +2632,7 @@ void _testClickDebouncer({required PointerBinding Function() getBinding}) {
await body();
EngineSemantics.instance.semanticsEnabled = false;
},
skip: skip,
);
}

Expand Down