Skip to content

Run Patrol on Flutter web chrome windows #2862

@uzixCode

Description

@uzixCode

im trying to run patrol on windows ,the flutter web it self running ,i see it on the log,but when it start to execute npx playwright test tests/test.spec.ts it loading for second then it stop

Test code
`import 'dart:async';

import 'package:certipro/main.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:patrol/patrol.dart';

Future main() async {
patrolTest('log in', ($) async {
await init();
await $.pumpWidgetAndSettle(const MyApp());
await $(TextFormField).enterText('[email protected]');
await $(TextFormField).enterText('password');
});
}
The commandpatrol test --device chrome --target .\patrol_test\login_test.dart --verbose`

the log

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions