mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-10-31 18:15:09 +00:00 
			
		
		
		
	 7f74fd6149
			
		
	
	
		7f74fd6149
		
			
		
	
	
	
	
		
			
			* chore: change initial cover type's name to none * chore: refactor cover node widget * chore: use a constant instead of magic value * fix: make the size of icon hover effect smaller * chore: improve appearance of selected color * test: add cover integration tests * fix: inner ring of selected color in dark mode * refactor: cover node to document header node * test: simplify tests * chore: rename files
		
			
				
	
	
		
			18 lines
		
	
	
		
			448 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			448 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
| import 'package:flutter/material.dart';
 | |
| import 'package:flutter_test/flutter_test.dart';
 | |
| 
 | |
| import 'base.dart';
 | |
| 
 | |
| extension EmojiTestExtension on WidgetTester {
 | |
|   /// Must call [openEmojiPicker] first
 | |
|   Future<void> switchToEmojiList() async {
 | |
|     final icon = find.byIcon(Icons.tag_faces);
 | |
|     await tapButton(icon);
 | |
|   }
 | |
| 
 | |
|   Future<void> tapEmoji(String emoji) async {
 | |
|     final emojiWidget = find.text(emoji);
 | |
|     await tapButton(emojiWidget);
 | |
|   }
 | |
| }
 |