mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 13:51:20 +08:00
Update codegen_previewer_test.dart
This commit is contained in:
@ -80,7 +80,9 @@ void main() async {
|
|||||||
await tester.pump();
|
await tester.pump();
|
||||||
await tester.pump(const Duration(seconds: 1));
|
await tester.pump(const Duration(seconds: 1));
|
||||||
|
|
||||||
expect(find.text('Kotlin (OkHttp)'), findsWidgets);
|
expect(find.text('Kotlin (okhttp3)'), findsWidgets);
|
||||||
|
expect(find.text('Python (http.client)'), findsWidgets);
|
||||||
|
expect(find.text('Python (requests)'), findsWidgets);
|
||||||
|
|
||||||
expect(find.textContaining('Error Status Code', findRichText: true),
|
expect(find.textContaining('Error Status Code', findRichText: true),
|
||||||
findsOneWidget);
|
findsOneWidget);
|
||||||
|
Reference in New Issue
Block a user