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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ public void ToolbarExtendsAllTheWayLeftAndRight_FlyoutPage()
App.WaitForElement("ContentGrid");
App.SetOrientationLandscape();
App.WaitForElement("ContentGrid");
#if ANDROID
VerifyScreenshot(cropLeft: 125);
Copy link

Copilot AI Oct 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The magic number 125 is duplicated from the other Issue28986 test files. Consider extracting this value to a shared named constant (e.g., AndroidLandscapeNavigationBarWidth) to maintain consistency across all three toolbar tests.

Copilot uses AI. Check for mistakes.
#else
VerifyScreenshot();
#endif
}
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ public void ToolbarExtendsAllTheWayLeftAndRight_NavigationPage()
App.WaitForElement("ContentGrid");
App.SetOrientationLandscape();
App.WaitForElement("ContentGrid");
#if ANDROID
VerifyScreenshot(cropLeft: 125);
Copy link

Copilot AI Oct 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The magic number 125 is duplicated from Issue28986_Shell.cs. Consider extracting this value to a shared named constant (e.g., AndroidLandscapeNavigationBarWidth) to ensure consistency and ease future updates if this dimension changes.

Copilot uses AI. Check for mistakes.
#else
VerifyScreenshot();
#endif
}
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ public void ToolbarExtendsAllTheWayLeftAndRight_Shell()
App.WaitForElement("ContentGrid");
App.SetOrientationLandscape();
App.WaitForElement("ContentGrid");
#if ANDROID
VerifyScreenshot(cropLeft: 125);
Copy link

Copilot AI Oct 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The magic number 125 is used for cropLeft without explanation. Consider extracting this value to a named constant (e.g., AndroidLandscapeNavigationBarWidth) to improve code clarity and maintainability across all three test files where this same value is duplicated.

Copilot uses AI. Check for mistakes.
#else
VerifyScreenshot();
#endif
}
}
#endif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading