Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
25815877
Unverified
Commit
25815877
authored
May 13, 2021
by
Jason Simmons
Committed by
GitHub
May 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Activate DevTools before running an integration test that uses DevTools (#82393)
parent
f53fb34b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
overall_experience_test.dart
...tools/test/integration.shard/overall_experience_test.dart
+12
-1
No files found.
packages/flutter_tools/test/integration.shard/overall_experience_test.dart
View file @
25815877
...
...
@@ -445,8 +445,19 @@ void main() {
},
skip:
Platform
.
isWindows
);
// TODO(jonahwilliams): Re-enable when this test is reliable on device lab, https://github.com/flutter/flutter/issues/81556
testWithoutContext
(
'flutter error messages include a DevTools link'
,
()
async
{
final
String
tempDirectory
=
fileSystem
.
systemTempDirectory
.
createTempSync
(
'flutter_overall_experience_test.'
).
resolveSymbolicLinksSync
();
final
String
testDirectory
=
fileSystem
.
path
.
join
(
flutterRoot
,
'dev'
,
'integration_tests'
,
'ui'
);
// Ensure that DevTools is activated.
final
ProcessResult
pubResult
=
await
processManager
.
run
(<
String
>[
fileSystem
.
path
.
join
(
flutterRoot
,
'bin'
,
'cache'
,
'dart-sdk'
,
'bin'
,
'dart'
),
'pub'
,
'global'
,
'activate'
,
'devtools'
,
],
workingDirectory:
testDirectory
).
timeout
(
const
Duration
(
seconds:
20
));
if
(
pubResult
.
exitCode
!=
0
)
{
print
(
'Unable to activate devtools:
\n
${pubResult.stderr}
'
);
}
expect
(
pubResult
.
exitCode
,
0
);
final
String
tempDirectory
=
fileSystem
.
systemTempDirectory
.
createTempSync
(
'flutter_overall_experience_test.'
).
resolveSymbolicLinksSync
();
final
String
testScript
=
fileSystem
.
path
.
join
(
'lib'
,
'overflow.dart'
);
try
{
final
ProcessTestResult
result
=
await
runFlutter
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment