Make web tests start with an empty title (flutter/engine#43846)
Fixes https://github.com/flutter/flutter/issues/39159
This commit is contained in:
@@ -544,7 +544,6 @@ class BrowserPlatform extends PlatformPlugin {
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>${htmlEscape.convert(test)} Test</title>
|
||||
<meta name="assetBase" content="/">
|
||||
<script>
|
||||
window.flutterConfiguration = {
|
||||
|
||||
@@ -28,8 +28,6 @@ Future<void> testMain() async {
|
||||
// Run the unit test without emulating Flutter tester environment.
|
||||
ui_web.debugEmulateFlutterTesterEnvironment = false;
|
||||
|
||||
// TODO(yjbanov): https://github.com/flutter/flutter/issues/39159
|
||||
domDocument.title = '';
|
||||
expect(domDocument.title, '');
|
||||
expect(getCssThemeColor(), isNull);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user