[canvaskit] Unskip cupertino datepicker tests (#156499)

Unskips Cupertino Datepicker tests on CanvasKit.

Addresses https://github.com/flutter/flutter/issues/110785 for CanvasKit. But the tests are still failing for Skwasm.
This commit is contained in:
Harry Terkelsen
2024-10-10 08:50:19 -07:00
committed by GitHub
parent 96c761c1a6
commit 810c87a2e3

View File

@@ -12,6 +12,7 @@ import 'dart:math' as math;
import 'dart:ui';
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart' show isCanvasKit;
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
@@ -19,7 +20,7 @@ import 'package:flutter_test/flutter_test.dart';
import '../impeller_test_helpers.dart';
// TODO(yjbanov): on the web text rendered with perspective produces flaky goldens: https://github.com/flutter/flutter/issues/110785
const bool skipPerspectiveTextGoldens = isBrowser;
final bool skipPerspectiveTextGoldens = isBrowser && !isCanvasKit;
// A number of the hit tests below say "warnIfMissed: false". This is because
// the way the CupertinoPicker works, the hits don't actually reach the labels,