Commit graph

64 commits

Author SHA1 Message Date
LarsBrubaker
1dfe8b3ee5 refactoring 2020-09-11 23:09:50 -07:00
John Lewin
a042133e0d Simplify tests to operate on empty part workspace 2018-10-17 17:26:29 -07:00
John Lewin
bcd10e9e1b Fix SaveAsToQueue test
- Issue MatterHackers/MCCentral#4268
Reconsider EnsureFolderVisible as the hook for opening the 'Add Content Menu'
2018-10-10 22:33:42 -07:00
Lars Brubaker
b1f2023210 Getting more tests to run on new ui 2018-10-10 13:34:18 -07:00
John Lewin
ec760353fa Resolve failing tests due to assumed default Part tab
- Issue MatterHackers/MCCentral#3173
2018-04-19 08:02:31 -07:00
John Lewin
44f9856eb5 Move focus back into View3DWidget
- Issue MatterHackers/MCCentral#2657
Investigate GroupAndUngroup failure
2018-01-15 20:39:57 -08:00
John Lewin
f60259e9d3 Consolidate header and footer bars into SelectedObjectPanel 2018-01-08 23:34:40 -08:00
John Lewin
70c1894c9a Use default WaitFor timeouts
- Issue MatterHackers/MCCentral#2427
2017-12-15 20:25:07 -08:00
John Lewin
2d4282c801 Rename Delay<Func> to WaitFor<Func> for clarity 2017-12-15 20:25:07 -08:00
Lars Brubaker
2d73c826bb Move do undo tests to design tools 2017-10-30 15:41:08 -07:00
Lars Brubaker
b0fa37b2a4 Added first pass at support for SLA printers
Took out unused slice settings
2017-10-30 13:10:18 -07:00
Lars Brubaker
a84701be03 Getting interaction volumes to be able to be scripted in automation runner
Better testing of offsets
Refactoring
2017-10-27 14:20:07 -07:00
Lars Brubaker
b9cc00c2e9 Getting interaction volumes to be able to be scripted in automation runner 2017-10-27 14:20:07 -07:00
Lars Brubaker
9dcd5339c8 Added translation test 2017-10-26 15:50:16 -07:00
Lars Brubaker
6e45ede3d5 Now testing Mirror X Y & Z 2017-10-26 15:05:46 -07:00
Lars Brubaker
37ec72c2af Created a unit test that mirror on x can be have do and undo clicked on it both selected and unselected 2017-10-26 14:36:35 -07:00
Lars Brubaker
7ed9c7374c Put invalidate on IObject3D
Made insertion group center on bed if not dragging
Put names into mirror buttons
Working on new mirror test
Refactoring
2017-10-25 17:05:57 -07:00
John Lewin
8cfb1e4b7f Fix SaveAsWindow regression exposed by failing test 2017-09-16 21:25:31 -07:00
John Lewin
af38676244 Make View3DWidget.Scene private 2017-09-16 01:19:07 -07:00
John Lewin
82b07f3237 Add NavigateToLibraryHome test helper 2017-06-18 10:02:34 -07:00
John Lewin
43656d4501 Use WaitForName defaults 2017-06-14 14:02:29 -07:00
John Lewin
1109b7b4ab Remove timeout from ClickByName 2017-06-14 11:13:39 -07:00
John Lewin
9dd9928e4e Revise SaveAsToQueue test
- Extract SaveBedplateToFolder functionality to test helper
2017-06-06 18:19:02 -07:00
John Lewin
83943be0cc Revise UndoRedoCopy test 2017-06-05 23:13:53 -07:00
John Lewin
b0552685b9 Revise RemoveButtonRemovesParts test 2017-06-05 23:06:50 -07:00
John Lewin
b999ddd662 Revise CopyRemoveUndoRedo test 2017-06-05 22:57:15 -07:00
John Lewin
d205cc6e13 Revise GroupAndUngroup test
- Use new C# 7 out discard syntax for SystemWindow parameter
2017-06-05 07:23:44 -07:00
John Lewin
ddcb32e1f7 Fix naming issues with IObject3D and FindNamedChildrenRecursive 2017-06-04 23:07:05 -07:00
John Lewin
f7dba678cd Use new Task.CompletedTask result for clarity 2017-06-04 08:35:29 -07:00
John Lewin
907609b587 Design tools 2017-03-15 16:29:56 -07:00
Lars Brubaker
19d22ce91d Refactor wait to delay 2017-02-01 10:12:31 -08:00
larsbrubaker
fcee839476 Refactoring tests 2017-02-01 08:06:26 -08:00
John Lewin
fb4dab3f17 Revise failing tests, bring passing tests online 2017-01-10 13:43:10 -08:00
Lars Brubaker
4266851eef Made this test faster 2016-12-20 17:08:59 -08:00
Lars Brubaker
c6d50d9907 Make sure the queue is passing all unit tests
If single item selected add to array
Make sure we update selection visibility when going in and out of editor
Fixed some tests
2016-12-05 11:55:08 -08:00
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