patrol install ps1 guideline

This commit is contained in:
J. A. Messias 2025-01-17 11:36:04 -03:00
parent bddbcb8d31
commit bd0b65354a
2 changed files with 31 additions and 20 deletions

View File

@ -81,26 +81,26 @@ class AuthenticationTest {
} }
static Future<void> signUp() async { static Future<void> signUp() async {
// patrolWidgetTest( patrolWidgetTest(
// 'Sign Up - credenciais já registradas', 'Sign Up - credenciais já registradas',
// (PatrolTester tester) async { (PatrolTester tester) async {
// $ = tester; $ = tester;
// $.tester.printToConsole( $.tester.printToConsole(
// 'Authentication Test - Sign-Up: credenciais já registradas'); 'Authentication Test - Sign-Up: credenciais já registradas');
//
// final PatrolFinder throwsException = $(Dialog).$(ThrowExceptionWidget); final PatrolFinder throwsException = $(Dialog).$(ThrowExceptionWidget);
// final Map<String, String> credentials = { final Map<String, String> credentials = {
// 'nameTextFormField': 'app', 'nameTextFormField': 'app',
// 'emailTextFormField': 'email_app@exemplo.com', 'emailTextFormField': 'email_app@exemplo.com',
// 'passwordTextFormField': '12345678', 'passwordTextFormField': '12345678',
// }; };
// await _unlogged(); await _unlogged();
// await $.pumpWidgetAndSettle(const App()); await $.pumpWidgetAndSettle(const App());
// await _navigateToSignUp($); await _navigateToSignUp($);
// await _auth(credentials, $, throwsException); await _auth(credentials, $, throwsException);
// await Future.delayed(const Duration(milliseconds: 500)); await Future.delayed(const Duration(milliseconds: 500));
// }, },
// ); );
patrolWidgetTest( patrolWidgetTest(
'Sign Up - credenciais novas', 'Sign Up - credenciais novas',

View File

@ -0,0 +1,11 @@
# Ativa o 'patrol_cli' globalmente
flutter pub global activate patrol_cli
# Limpa os builds anteriores do Flutter
flutter clean
# Obtém as dependências do Flutter
flutter pub get
# Verifica a configuração do Patrol
patrol doctor