Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit ea91cf3

Browse files
author
Nurhan Turgut
committed
test the chrome linux tests again
1 parent bba1c57 commit ea91cf3

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

lib/web_ui/dev/goldens_lock.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
repository: https://github.com/flutter/goldens.git
2-
revision: f3e36612c6200db3d7533de4ffe64e6f803eda03
1+
repository: https://github.com/nturgut/goldens.git
2+
revision: 6163d4e5970d739a413886c7b16136f2c8baf351

lib/web_ui/dev/integration_tests_manager.dart

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,15 +165,15 @@ class IntegrationTestsManager {
165165
IntegrationArguments.fromBrowser(_browser);
166166
final int exitCode = await runProcess(
167167
executable,
168-
arguments.getTestArguments(testName, 'debug'),
168+
arguments.getTestArguments(testName, 'profile'),
169169
workingDirectory: directory.path,
170170
);
171171

172172
if (exitCode != 0) {
173173
io.stderr
174174
.writeln('ERROR: Failed to run test. Exited with exit code $exitCode'
175175
'. To run $testName locally use the following command:'
176-
'\n\n${arguments.getCommandToRun(testName, 'debug')}');
176+
'\n\n${arguments.getCommandToRun(testName, 'profile')}');
177177
return false;
178178
} else {
179179
return true;
@@ -341,7 +341,7 @@ class ChromeIntegrationArguments extends IntegrationArguments {
341341

342342
String getCommandToRun(String testName, String mode) {
343343
String statementToRun = 'flutter drive '
344-
'--target=test_driver/${testName} -d web-server --debug '
344+
'--target=test_driver/${testName} -d web-server --profile '
345345
'--browser-name=chrome --local-engine=host_debug_unopt';
346346
if (isLuci) {
347347
statementToRun = '$statementToRun --chrome-binary='
@@ -359,8 +359,7 @@ class FirefoxIntegrationArguments extends IntegrationArguments {
359359
'--target=test_driver/${testName}',
360360
'-d',
361361
'web-server',
362-
// Keep running Firefox on release mode.
363-
'--release',
362+
'--$mode',
364363
'--browser-name=firefox',
365364
'--headless',
366365
'--local-engine=host_debug_unopt',
@@ -381,7 +380,7 @@ class SafariIntegrationArguments extends IntegrationArguments {
381380
'--target=test_driver/${testName}',
382381
'-d',
383382
'web-server',
384-
'--release', // Keep running Safari on release mode.
383+
'--$mode',
385384
'--browser-name=safari',
386385
'--local-engine=host_debug_unopt',
387386
];

0 commit comments

Comments
 (0)