Malarg commented on code in PR #26978:
URL: https://github.com/apache/beam/pull/26978#discussion_r1219128235


##########
learning/tour-of-beam/frontend/integration_test/tour_page_test.dart:
##########
@@ -125,6 +132,30 @@ Future<void> _checkUnitContentLoadsProperly(
   );
 }
 
+Future<void> _checkSdkChangesProperly(WidgetTester wt, UnitModel node) async {
+  final defaultSdk = _getTourNotifier(wt).playgroundController.sdk;
+  final sdkCache = GetIt.instance.get<SdkCache>();
+  String? previousId;
+  for (final sdk in sdkCache.getSdks()) {
+    await _setSdk(sdk.title, wt);
+    final actualId =
+        _getTourNotifier(wt).playgroundController.selectedExample?.path;
+    expect(actualId, isNot(previousId));

Review Comment:
   added



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to