mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: grid theming to bottom row count number (#3510)
* fix: theming to bottom count number * refactor: Row to RichText
This commit is contained in:
@ -899,9 +899,7 @@ extension AppFlowyDatabaseTest on WidgetTester {
|
||||
}
|
||||
|
||||
Future<void> assertRowCountInGridPage(int num) async {
|
||||
final text = find.byWidgetPredicate(
|
||||
(widget) => widget is FlowyText && widget.text == rowCountString(num),
|
||||
);
|
||||
final text = find.text('${rowCountString()} $num',findRichText: true);
|
||||
expect(text, findsOneWidget);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user