File tree 4 files changed +12
-5
lines changed
4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
1
## 6.0.0-dev
2
2
3
+ - Depend on the latest ` package:devtools ` and ` package:devtools_server ` .
3
4
- Support using WebSockets for the debug backend by passing
4
5
` useSseForDebugBackend: false ` to ` Dwds.start() `
5
6
- Ensure we run main on a hot restart request even if no modules were
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ dependencies:
15
15
built_value : ' >=6.7.0 <8.0.0'
16
16
crypto : ^2.0.6
17
17
# devtools_server indirectly depends on devtools so keep this around.
18
- devtools : ^0.2 .0
19
- devtools_server : ^0.2 .0
18
+ devtools : ^0.8 .0
19
+ devtools_server : ^0.8 .0
20
20
file : ^5.1.0
21
21
http : ^0.12.0
22
22
http_multi_server : ^2.0.0
Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ void main() async {
43
43
test ('can launch DevTools' , () async {
44
44
var windows = await context.webDriver.windows.toList ();
45
45
await context.webDriver.driver.switchTo.window (windows.last);
46
- expect (await context.webDriver.title, 'Dart DevTools' );
46
+ // TODO(grouma): switch back to `fixture.webdriver.title` when
47
+ // https://github.com/flutter/devtools/issues/2045 is fixed.
48
+ expect (await context.webDriver.pageSource, contains ('Flutter' ));
47
49
});
48
50
49
51
test ('can close DevTools and relaunch' , () async {
Original file line number Diff line number Diff line change @@ -30,7 +30,9 @@ void main() {
30
30
test ('can launch devtools' , () async {
31
31
var windows = await context.webDriver.windows.toList ();
32
32
await context.webDriver.driver.switchTo.window (windows.last);
33
- expect (await context.webDriver.title, 'Dart DevTools' );
33
+ // TODO(grouma): switch back to `fixture.webdriver.title` when
34
+ // https://github.com/flutter/devtools/issues/2045 is fixed.
35
+ expect (await context.webDriver.pageSource, contains ('Flutter' ));
34
36
});
35
37
36
38
test ('can not launch devtools for the same app in multiple tabs' , () async {
@@ -65,7 +67,9 @@ void main() {
65
67
windows = await context.webDriver.windows.toList ();
66
68
devToolsWindow = windows.firstWhere ((window) => window != newAppWindow);
67
69
await devToolsWindow.setAsActive ();
68
- expect (await context.webDriver.title, 'Dart DevTools' );
70
+ // TODO(grouma): switch back to `fixture.webdriver.title` when
71
+ // https://github.com/flutter/devtools/issues/2045 is fixed.
72
+ expect (await context.webDriver.pageSource, contains ('Flutter' ));
69
73
});
70
74
71
75
test ('destroys and recreates the isolate during a page refresh' , () async {
You can’t perform that action at this time.
0 commit comments