Commit graph

255 commits

Author SHA1 Message Date
Lars Brubaker
345fefcecc Patch to test 2017-06-27 14:45:15 -07:00
John Lewin
d9b28cdd86 Add 'Print' menu action, implement Print for GCode and SD card GCode
- Fix and rename CloseShouldNotStopSDPrint test
- Fix product bugs regarding selecting and printing GCode
2017-06-21 07:43:40 -07:00
John Lewin
82b07f3237 Add NavigateToLibraryHome test helper 2017-06-18 10:02:34 -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
8afc92ae33 Decouple MatterControl components from PrinterConnection
- Move relevant aspects to ApplicationController
2017-06-16 18:04:47 -07:00
John Lewin
43656d4501 Use WaitForName defaults 2017-06-14 14:02:29 -07:00
John Lewin
f395e9bf07 Revise NameExists usage 2017-06-14 11:13:39 -07:00
John Lewin
53aa468183 Use WaitForName defaults unless exceptional 2017-06-14 11:13:39 -07:00
John Lewin
b48041c9bc Move ApartmentState.STA to class 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
1ac3274e7d Move CommunicationState enums into PrinterCommunication namespace 2017-06-13 17:33:23 -07:00
John Lewin
9aaf0f6311 Rename PrinterConnectionAndCommunication 2017-06-13 17:22:49 -07:00
John Lewin
6c0e78eef6 Revise ClickingShowTerminalButtonOpensTerminal test 2017-06-13 17:00:27 -07:00
John Lewin
a6630fb8f8 Switch tests to Controls tab as needed 2017-06-13 13:22:22 -07:00
John Lewin
604d131a1b Make helper method pin SliceSettings tab as needed
- Use "Slice Settings" tab name expected by tests
2017-06-12 20:35:48 -07:00
John Lewin
dc3e02d6fd Drop QueueSelectCheckBoxWorks for ClickOnLibraryCheckBoxes 2017-06-11 16:45:36 -07:00
John Lewin
ca641f8b13 Ensure Dispose is called on Emulator instance 2017-06-11 09:52:30 -07:00
John Lewin
c4b2e88921 Add Emulator test category 2017-06-11 07:59:13 -07:00
John Lewin
2f6afbb6ae Revise PrinterNameChangePersists test, fix blocking test issue
- Test helper should auto open SliceSettings overflow menu
- Fix product bug with null settingsLevel
2017-06-09 20:12:25 -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
9dd9928e4e Revise SaveAsToQueue test
- Extract SaveBedplateToFolder functionality to test helper
2017-06-06 18:19:02 -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
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
9389281ba8 Revise LibraryQueueViewRefreshesOnAddItem test
- Fix naming issue with SaveAs->LocalLibrary
2017-06-05 22:51:28 -07:00
John Lewin
e33e7d89cd Remove SelectedIndex/Selection functionality from QueueData 2017-06-05 21:57:45 -07:00
John Lewin
2a9e70c28c Ensure bedplate is saved before slicing
- Remove cheat in AddSelectedItemToBedplate helper which saved bed
- Invoke PersistePlateIfNeeded before slicing
- Mark plate as dirty when adding items
- Make SaveChanges awaitable so slicing queues until save is done
- Remove unused Action in functionToCallOnSaveAs delegate
- Change saveas delegate to support new awaitable signature
2017-06-05 14:37:32 -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
8a1163d699 Move ApartmentState.STA attribute to class 2017-06-04 17:39:30 -07:00
John Lewin
bfd6154bc6 Revise AddToQueueMenuItemAddsZipFiles test 2017-06-04 16:56:39 -07:00
John Lewin
81749e2812 Revise AddToQueueMenuItemAddsMultipleFiles test 2017-06-04 16:50:47 -07:00
John Lewin
5039cc798f Revise AddToQueueMenuItemAddsSingleFile test 2017-06-04 16:44:18 -07:00
John Lewin
7bed3eafc2 Revise FileMenuAddPrinter test 2017-06-04 16:37:26 -07:00
John Lewin
0dc0621f62 Add helper methods to open/close Printers... menu
- Click ConnectionWizard->Skip if present and adding printers
2017-06-04 16:16:07 -07:00
John Lewin
b598f0002a Add test for Thumbnail rendering bug - MatterHackers/MCCentral#1567 2017-06-04 10:20:47 -07:00
John Lewin
2233529a68 Make AddAndSelectPrinter an extension method 2017-06-04 09:01:56 -07:00
John Lewin
f342460a84 Revise RaftEnabledPassedToSliceEngine test 2017-06-04 08:57:17 -07:00
John Lewin
f7dba678cd Use new Task.CompletedTask result for clarity 2017-06-04 08:35:29 -07:00
John Lewin
9a91ddf219 Add and reuse utility function for adding test assets to library
- Allows test body to focus on code being tested
- Ensures consistency in adding assets to library
- Exposes how Fennec part differs from others due to renaming behavior
2017-06-04 08:25:21 -07:00
John Lewin
f674f389ba Revise RaftEnabledPassedToSliceEngine test 2017-06-04 08:25:21 -07:00
John Lewin
c0c346a35c Revise HasHeatedBedCheckedHidesBedTemperatureOptions test 2017-06-04 08:25:21 -07:00
John Lewin
4958defdeb Revise DeleteProfileWorksForGuest test
- Prevent null reference on SyncPrinterProfiles()
2017-06-03 19:39:54 -07:00
John Lewin
85b6dc1ac3 Revise SwitchingMaterialsCausesSettingsChangedEvents test 2017-06-03 19:33:53 -07:00
John Lewin
af582e0d79 Revise ClearingCheckBoxClearsUserOverride test 2017-06-03 19:33:38 -07:00
John Lewin
d80a88e876 Revise CancelWorksAsExpected test 2017-06-03 19:13:54 -07:00
John Lewin
fc45a60d35 Revise PauseOnLayerDoesPauseOnPrint test
- Now intermittently passing
- Make Layer toggle button and Bedplate Save button automatable
- Save Bedplate before leaving AddDefaultFileToBedplate
- Revise casing on AddDefaultFileToBedplate
2017-06-03 19:10:12 -07:00