Commit graph

29 commits

Author SHA1 Message Date
Lars Brubaker
2e93d43ccd Fixing up automation tests 2016-12-02 18:06:29 -08:00
John Lewin
ffd95dd2f3 Revise CopyButtonMakesCopyOfPart
- Move variable declaration to block start
- Use .Count instead of .Count()
- Revert accidental wait for 13 seconds to 3 seconds
- Fix compile issue
- Fix typo
2016-11-02 07:02:19 -07:00
John Lewin
a5681174f5 Revise UndoRedoDelete
- Rename test
- Wait to enter edit mode
- Use Assert.AreEqual for clarity
- Add Assert message for troubleshooting
- Wait for expected condition rather than fixed duration
- Use correct comments format
- Use .Count instead of .Count()
2016-11-02 06:52:58 -07:00
John Lewin
6a7b7688f9 Revise CopyButtonMakesCopyOfPart
- Rename test
- Wait to enter edit mode
- Fix ordering of expected/actual on Assert.AreEqual
- Wait for expected condition rather than fixed duration
- Use correct comments format
- Use .Count instead of .Count()
2016-11-02 06:26:35 -07:00
John Lewin
56ef92ab91 Collapse PrepForTestRun(mode) into new CloseSignInAndPrinterSelect() 2016-10-26 09:03:46 -07:00
John Lewin
b54b73db7f Ensure spawned emulator process is always killed via using/Dispose
- LaunchAndConnectToPrinterEmulator -> TestRunner extension method
2016-10-26 07:30:29 -07:00
John Lewin
a9aef3d096 Add missing changes to PartPreviewTests.cs 2016-10-26 06:58:20 -07:00
John Lewin
13067e1602 Convert NavigateToFolder to a TestRunner extension method 2016-10-26 06:49:50 -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
552f44fef1 Fixing tests 2016-09-14 14:09:57 -07:00
Lars Brubaker
014ea6e75c Got the remaining automation tests running 2016-09-06 16:36:25 -07:00
Lars Brubaker
0f2b715935 Making less calls to reload all
New function ReloadLibraryUI
Called when updating purchased and shared folder
2016-08-08 17:17:59 -07:00
Lars Brubaker
dc22e6b788 Getting more tests to pass
Down to 7 failing tests.
2016-08-01 17:21:31 -07:00
Lars Brubaker
472b26ac34 Added a edit selected utility function. 2016-08-01 14:22:16 -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
Greg
d33c785fe2 Added tests for saving to Local Library and Downloads folders. Also fixed regression(could not add gcode files to the queue) 2016-03-02 12:43:45 -08:00
Greg
78710d7a76 Added tests for Save As from PartPreview to the Queue 2016-03-01 18:19:28 -08:00
Greg
a400116c1d Added PartPreview tests for Undo/Redo delete 2016-03-01 16:20:39 -08:00
Greg
a3afaa40c7 Added tests for Part Preview remove button and Undo/Redo copy 2016-03-01 15:15:48 -08:00
Greg
8882970266 Added automated test for checking that Group and Ungroup buttons work 2016-03-01 13:00:18 -08:00
Greg
59301ce2b4 Added new PartPreviewWindow which tests that when the Copy button clicked the MeshGroups count increases by one 2016-03-01 11:25:15 -08:00