Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -270,15 +270,6 @@ void main() {
testWidgets(
'reports buffering status',
(WidgetTester tester) async {
// This test requires network access, and won't pass until a LUCI recipe
// change is made.
// TODO(camsim99): Remove once https://github.com/flutter/flutter/issues/160797 is fixed.
if (!kIsWeb && Platform.isAndroid) {
markTestSkipped(
'Skipping due to https://github.com/flutter/flutter/issues/160797');
return;
}

await controller.initialize();
// Mute to allow playing without DOM interaction on Web.
// See https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
Expand Down Expand Up @@ -308,7 +299,11 @@ void main() {
await expectLater(started.future, completes);
await expectLater(ended.future, completes);
},
skip: !(kIsWeb || defaultTargetPlatform == TargetPlatform.android),
skip:
// MEDIA_ELEMENT_ERROR on web, see https://github.com/flutter/flutter/issues/169219
kIsWeb ||
// Hanging on Android, see https://github.com/flutter/flutter/issues/160797
defaultTargetPlatform == TargetPlatform.android,
);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ void main() {
isPlaying: true,
)
]));
});
},
// MEDIA_ELEMENT_ERROR, see https://github.com/flutter/flutter/issues/169219
skip: true);

testWidgets('video playback lifecycle', (WidgetTester tester) async {
final int videoPlayerId = await playerId;
Expand Down Expand Up @@ -238,7 +240,9 @@ void main() {
VideoEventType.initialized,
VideoEventType.bufferingEnd,
]));
});
},
// MEDIA_ELEMENT_ERROR, see https://github.com/flutter/flutter/issues/169219
skip: true);

testWidgets('can set web options', (WidgetTester tester) async {
expect(
Expand Down