[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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user