mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
## Summary of the Pull Request Basic UI Tests for Screen Ruler module ## PR Checklist - [ ] Closes: https://github.com/microsoft/PowerToys/issues/40670 - [x] **Communication:** I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected - [x] **Tests:** Added/updated and all pass - [x] **Dev docs:** Added/updated ## Detailed Description of the Pull Request / Additional comments Covered test cases you can find in this issue: https://github.com/microsoft/PowerToys/issues/40670
28 lines
903 B
C#
28 lines
903 B
C#
// Copyright (c) Microsoft Corporation
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using Microsoft.PowerToys.UITest;
|
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
|
|
namespace ScreenRuler.UITests
|
|
{
|
|
[TestClass]
|
|
public class TestSpacingVertical : UITestBase
|
|
{
|
|
public TestSpacingVertical()
|
|
: base(PowerToysModule.PowerToysSettings, WindowSize.Large)
|
|
{
|
|
}
|
|
|
|
[TestMethod("ScreenRuler.VerticalSpacingTool")]
|
|
[TestCategory("Spacing")]
|
|
public void TestScreenRulerVerticalSpacingTool()
|
|
{
|
|
TestHelper.InitializeTest(this, "vertical spacing test");
|
|
TestHelper.PerformSpacingToolTest(this, TestHelper.VerticalSpacingButtonName, "Vertical Spacing");
|
|
TestHelper.CleanupTest(this);
|
|
}
|
|
}
|
|
}
|