From b4b8d587930975c25b77658c4621f5feae744d0d Mon Sep 17 00:00:00 2001 From: Brendan MacLean Date: Tue, 31 Dec 2024 11:01:32 -0800 Subject: [PATCH] Skyline: Fixed TestCEOptimizationTutorial and TestPeakPickingTutorial to better match existing screenshots (#3309) --- .../Skyline/TestTutorial/CEOptimizationTutorialTest.cs | 2 +- .../Skyline/TestTutorial/PeakPickingTutorialTest.cs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pwiz_tools/Skyline/TestTutorial/CEOptimizationTutorialTest.cs b/pwiz_tools/Skyline/TestTutorial/CEOptimizationTutorialTest.cs index 0fe9475268..124c3855f7 100644 --- a/pwiz_tools/Skyline/TestTutorial/CEOptimizationTutorialTest.cs +++ b/pwiz_tools/Skyline/TestTutorial/CEOptimizationTutorialTest.cs @@ -271,7 +271,7 @@ protected override void DoTest() var graphRegression = ShowDialog(addItem.ShowGraph); - PauseForScreenShot("Collision Energy Regression graphs", 10); + PauseForGraphScreenShot("Collision Energy Regression graphs", 10); var graphDatas = graphRegression.RegressionGraphDatas.ToArray(); Assert.AreEqual(2, graphDatas.Length); diff --git a/pwiz_tools/Skyline/TestTutorial/PeakPickingTutorialTest.cs b/pwiz_tools/Skyline/TestTutorial/PeakPickingTutorialTest.cs index 0af971479f..61d965976a 100644 --- a/pwiz_tools/Skyline/TestTutorial/PeakPickingTutorialTest.cs +++ b/pwiz_tools/Skyline/TestTutorial/PeakPickingTutorialTest.cs @@ -169,11 +169,11 @@ protected override void DoTest() Assert.AreEqual(chromGroupInfo.RetentionTime.Value, 18.0, 0.1); SkylineWindow.ChangeTextSize(TreeViewMS.LRG_TEXT_FACTOR); }); - RunDlg(SkylineWindow.ShowChromatogramProperties, dlg => - { - dlg.FontSize = GraphFontSize.LARGE; - dlg.OkDialog(); - }); + // RunDlg(SkylineWindow.ShowChromatogramProperties, dlg => + // { + // dlg.FontSize = GraphFontSize.LARGE; + // dlg.OkDialog(); + // }); PauseForScreenShot("Main window", 5); // Test different point types on RTLinearRegressionGraph