John Lewin
dda6f89c2b
Fix widget ordering to restore layer view controls
...
- Less coupling to MeshViewerWidget
- Interaction layer concept/surface added for IA volumes
- Holds most IA volume logic and controls
2017-07-11 08:10:57 -07:00
John Lewin
1521e56875
Assert.IsFalse(WaitForName) should use short timeout rather than default
2017-06-17 18:51:24 -07:00
John Lewin
53aa468183
Use WaitForName defaults unless exceptional
2017-06-14 11:13:39 -07:00
John Lewin
1109b7b4ab
Remove timeout from ClickByName
2017-06-14 11:13:39 -07:00
John Lewin
dc3e02d6fd
Drop QueueSelectCheckBoxWorks for ClickOnLibraryCheckBoxes
2017-06-11 16:45:36 -07:00
John Lewin
5cbcee976e
Convert LibraryRemoveSelectedItem to extension method
2017-06-06 18:52:13 -07:00
John Lewin
7401758431
Revise RemoveButtonRemovesSingleItem test
2017-06-06 18:48:46 -07:00
John Lewin
11e3ca8a6e
Revise RemoveButtonRemovesMultipleItems test
...
- Fix product bug with PrintQueueContainer failing to reload
- Add test helper to select ListView items
- Reuse test helper
- Iterate on .OfType instead of cast and eval
2017-06-06 18:42:44 -07:00
John Lewin
11668e305b
Revise DragTo3DViewAddsItem test
...
- Fix naming bug introduced in earlier updates
- Friendly name should only be applied to default file names
- Friendly name should not include extension
2017-06-05 23:34:33 -07:00
John Lewin
e33e7d89cd
Remove SelectedIndex/Selection functionality from QueueData
2017-06-05 21:57:45 -07:00
John Lewin
8a1163d699
Move ApartmentState.STA attribute to class
2017-06-04 17:39:30 -07:00
John Lewin
f7dba678cd
Use new Task.CompletedTask result for clarity
2017-06-04 08:35:29 -07:00
John Lewin
1e286f14bf
Remove library tests from PrintQueueTests, extract non-applicable tests
...
- See PrintQueueUncertain.cs and LibraryActionTests.cs
2017-05-21 18:02:53 -07:00
John Lewin
88ce05b5fd
Fix QueueAddButtonAddsSTL test
...
- Rename to AddStlFile
- Update to new format
- Remove testToRun variable, pass lambda directly
- Issue MatterHackers/MCCentral#1504
2017-05-21 17:37:37 -07:00
John Lewin
a1e49bb1e7
Fix QueueAddButtonAddsGcodeFile test
...
- Rename to AddGCodeFile
- Update to new format
- Remove testToRun variable, pass lambda directly
- Issue MatterHackers/MCCentral#1504
2017-05-21 17:36:09 -07:00
John Lewin
addd88986a
Fix QueueAddButtonAddsAMF test
...
- Rename to AddAmfFile
- Update to new format
- Remove testToRun variable, pass lambda directly
- Issue MatterHackers/MCCentral#1504
2017-05-21 17:27:06 -07:00
John Lewin
51abfc527a
Fix AddSingleItemToQueue test
...
- Issue MatterHackers/MCCentral#1504
2017-05-21 17:10:30 -07:00
John Lewin
bbbcb62123
Fix AddMultipleItemsToQueue test
...
- Use new library widget name format
- Fix blocking issues in PrintQueueContainer
- Perform actual container reload via .ReloadContainer
- Allow ReloadContainer to execute on the current thread
- Wrap original invocation of ReloadContainer in ctor with Task.Run()
- Issue MatterHackers/MCCentral#1504
2017-05-21 16:55:33 -07:00
John Lewin
2654151649
Call Container.Add(IEnumerable<T>)
...
- Add ChangeToQueueContainer helper method
- Cast to IWritableContainer and invoke Add(IEnumerable<T>)
- Issue MatterHackers/MCCentral#1503
2017-05-21 16:29:00 -07:00
John Lewin
907609b587
Design tools
2017-03-15 16:29:56 -07:00
Lars Brubaker
a78fe21e7a
Fixed failing unit test.
2017-02-15 14:30:06 -08: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
9dd64e2ce1
Wrote a test for clicking on the queue check box button
2016-12-21 17:02:25 -08:00
John Lewin
56f1ab247e
Revise failing queue tests on slow VMs
...
- Use Assert.AreEqual
- Add failure messages
- Extend ClickByName and WaitForName durations
- Restore 500ms waits in NavigateToFolder
2016-12-20 13:58:36 -08:00
Lars Brubaker
56bd301624
Wrote a test to validate that we remove the last queue item correctly
...
This is to test a regression that was fixed today.
2016-12-15 17:54:42 -08:00
Lars Brubaker
dbd2c20398
Merge branch '1.6'
...
# Conflicts:
# SlicerConfiguration/Settings/ProfileManager.cs
# Tests/MatterControl.AutomationTests/PrintQueueTests.cs
# Tests/MatterControl.Tests/MatterControl/MatterControlUtilities.cs
2016-12-07 16:14:56 -08:00
larsbrubaker
541e4ef7b1
Fixed the test that had not been updated
2016-12-04 12:26:04 -08:00
Lars Brubaker
23061f51cb
Make AddAndSelectPrinter more stable
2016-12-02 15:44:12 -08:00
John Lewin
d4196b7b64
Fix failing QueueThumbnailWidgetOpensPartPreview test
2016-12-01 15:02:49 -08:00
John Lewin
0cabc4af74
Modify ClickByName automation helper to throw if not found
2016-12-01 13:25:17 -08:00
John Lewin
d4ce45b449
Revise failing tests
...
- Wait for ReloadAll after calling AddAndSelectPrinter
- Revise ClickQueueRowItemViewAndRemove test
- Use specialized asserts
- Assert expected start/end counts
- Add descriptive failure messages
- Eliminate excess wait times in RemoveAllMenuItemClickedRemovesAll due
to WaitForName calls. Perform one wait, then assert expected
2016-11-15 15:15:02 -08:00
John Lewin
47c2d418b0
Revise failing RemoveAllMenuItemClickedRemovesAll test
...
- Use AreEqual for troubleshooting
2016-11-05 12:00:18 -07:00
John Lewin
0dfc3b2067
Revise failing test - DoneButtonTurnsOffEditMode
2016-11-04 07:17:59 -07:00
John Lewin
e6162a209e
Revise failing test - RemoveButtonRemovesSingleItem
...
- Latest Agg
2016-11-03 17:01:27 -07:00
John Lewin
4a48e2d2b3
Disable broken automation test, fix typo
2016-11-03 09:13:18 -07:00
John Lewin
362b269dff
Use single string for control names
2016-11-03 08:46:08 -07:00
John Lewin
e739926617
Revise CopyButtonMakesACopyOfPartInTheQueue
...
- Add Assert messages for troubleshooting
- Wait for expected conditions
2016-11-02 11:32:40 -07:00
John Lewin
5862ecef36
Revise SendMenuItemClickedNoSignIn
...
- Rename test to reflect actual behavior
- Add Assert messages for troubleshooting
- Add fixed wait times for menu clicks
2016-11-02 10:57:58 -07:00
John Lewin
c1d0e37b71
Revise ExportToZipMenuItemClicked
...
- Rename test
- Use Assert.AreEqual for clarity
- Add Assert messages for troubleshooting
- Wait for expected condition rather than fixed duration
- Use correct comments format
- Attempt file cleanup inside of a try/catch and ignore failures
2016-11-02 07:48:39 -07: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
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
Lars Brubaker
aafc037582
updated me3d printer (also up in release data).
2016-10-12 16:55:02 -07:00
John Lewin
f53f8f2a1b
Convert disabled tests to FixNeeded category
2016-10-04 18:49:36 -07:00