mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-11-04 03:54:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			383 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			383 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
import 'package:flutter_emoji_mart/flutter_emoji_mart.dart';
 | 
						|
import 'package:flutter_test/flutter_test.dart';
 | 
						|
 | 
						|
import 'base.dart';
 | 
						|
 | 
						|
extension EmojiTestExtension on WidgetTester {
 | 
						|
  Future<void> tapEmoji(String emoji) async {
 | 
						|
    final emojiWidget = find.descendant(
 | 
						|
      of: find.byType(EmojiPicker),
 | 
						|
      matching: find.text(emoji),
 | 
						|
    );
 | 
						|
    await tapButton(emojiWidget);
 | 
						|
  }
 | 
						|
}
 |