mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
test: skip the secondary tap test on Windows
This commit is contained in:
parent
d90414a8c1
commit
c793eb67fc
@ -1,3 +1,5 @@
|
|||||||
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:appflowy_editor/appflowy_editor.dart';
|
import 'package:appflowy_editor/appflowy_editor.dart';
|
||||||
import 'package:appflowy_editor/src/service/context_menu/context_menu.dart';
|
import 'package:appflowy_editor/src/service/context_menu/context_menu.dart';
|
||||||
import 'package:flutter/gestures.dart';
|
import 'package:flutter/gestures.dart';
|
||||||
@ -116,6 +118,11 @@ void main() async {
|
|||||||
|
|
||||||
// test built in context menu items
|
// test built in context menu items
|
||||||
|
|
||||||
|
// Skip the Windows platform because the rich_clipboard package doesn't support it perfectly.
|
||||||
|
if (Platform.isWindows) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// cut
|
// cut
|
||||||
await tester.tap(find.text('Cut'));
|
await tester.tap(find.text('Cut'));
|
||||||
await tester.pump();
|
await tester.pump();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user