Commit graph

21 commits

Author SHA1 Message Date
Lars Brubaker
f4d69c8f28 Getting automation tests to pass with new ui changes
issue: MatterHackers/MCCentral#4108
Many test failures related to Controls/Terminal tabs being hidden by default
2018-09-10 10:42:18 -07:00
Lars Brubaker
f3bd927692 attempting to fix agg test failures (#41) 2018-04-30 15:40:47 -07:00
John Lewin
20315077bf Fix regression due to starting in Part view without printer selection 2017-09-16 21:25:30 -07:00
John Lewin
6c0e78eef6 Revise ClickingShowTerminalButtonOpensTerminal test 2017-06-13 17:00:27 -07:00
John Lewin
f7dba678cd Use new Task.CompletedTask result for clarity 2017-06-04 08:35:29 -07:00
John Lewin
9f6821305c Fix ClickingShowTerminalButtonOpensTerminal test
- Remove test navigation to SettingsAndControls
2017-05-21 22:11:27 -07:00
Lars Brubaker
19d22ce91d Refactor wait to delay 2017-02-01 10:12:31 -08:00
Greg
f0980c5031 Moved test from MatterControlAutomationTests to CloudServicesTests so that it works 2016-12-02 12:41:13 -08:00
John Lewin
56ef92ab91 Collapse PrepForTestRun(mode) into new CloseSignInAndPrinterSelect() 2016-10-26 09:03:46 -07:00
John Lewin
c72c8d8fc6 Revise Agg automation
- Remove per test classes
- Migrate RunInApplicationDomain attributes to TextFixture
- Convert from Action<AutomationRunner> to AutomationTest delegate
- Convert testRunner.AddTestResult to Assert.IsTrue
- Remove testRunner.AllTestPassed(n) - use Asserts
- Add return Task.FromResult(0) for non-async test method bodies
- Upgrade NUnit.ApplicationDomain to v10
2016-10-25 07:38:48 -07:00
John Lewin
4d3f5d2521 Move CloseMatterControl responsiblity outside of TestMethod
- Behavior is now invoked in parent RunTest call
2016-10-19 12:06:31 -07:00
John Lewin
28699c9197 Remove defaultTestImages parameter
- Leave as null, fall back to default on null
2016-10-19 11:49:52 -07:00
John Lewin
e216457ef5 Remove excess blocks 2016-10-19 11:10:30 -07:00
John Lewin
8f8d0e5b30 Consolidate AutomationTesterHarness into AutomationRunner
- Remove AutomationRunner construction from test bodies
- Pass AutomationRunner into test method
2016-10-19 07:44:09 -07:00
John Lewin
f53f8f2a1b Convert disabled tests to FixNeeded category 2016-10-04 18:49:36 -07:00
John Lewin
0ac3ac311d Switch to RequiresSTA replacement attribute
- Add SetCompatibleWorkingDirectory to consistently change working directory
2016-09-21 15:34:53 -07:00
Lars Brubaker
c113aba7d9 Making test passed take a count 2016-09-19 17:13:11 -07:00
Lars Brubaker
d8138ac51e Making a function to prep MatterControl prior to runing tests.
Made automation tests call it.
2016-07-29 16:44:00 -07:00
John Lewin
c255e46032 Move automation tests to "MatterControl.UI.Automation" category
- Change namespaces to MatterHackers.MatterControl.Tests.Automation
 - Cleanup using statements
2016-05-11 09:16:03 -07:00
John Lewin
9a5d872486 Automation updates
- Revise skirt_distance label per support team
 - Remove CreateInstance(showWindow) out variable
 - Remove embedded tools requiring showWindow out variable
 - Remove queueItemFolderToAdd variable/parameter
 - Change AfterFirstDraw event to null conditional invoke
 - Removed unused AutomationTest from MatterControlApplication
 - Refactor for style consistency and document new methods
 - Change queueItemFolderToAdd type to custom enum to ensure optional parameters are not mixed up
 - Ensure TestExportZip file is deleted before attempting export
2015-12-22 13:06:47 -08:00
John Lewin
879a2856d3 Extract automation tests to a separate assembly to ensure isolation/clean startup
- Fall back to English if translation data is missing, rather than crashing
 - Dump test name to console when running test harness to troubleshoot hangs
2015-12-13 17:29:01 -08:00
Renamed from Tests/MatterControl.Tests/MatterControl/AutomationTests/OptionsTabTests.cs (Browse further)