Commit graph

346 commits

Author SHA1 Message Date
John Lewin
7a27433bf0 Migrate GCodeVisualizer and MeshViewer content into MatterControl 2017-06-24 07:28:55 -07:00
John Lewin
0e646a0c94 Move PartPreviewWidget factories into ThemeConfig
- Extract ThemeConfig to file
- Pass ThemeConfig to IObject3D creators
2017-06-19 09:19:00 -07:00
John Lewin
82b07f3237 Add NavigateToLibraryHome test helper 2017-06-18 10:02:34 -07:00
John Lewin
872ec94c70 Fix MatterControlRuns 2017-06-17 08:33:51 -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
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
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
b1842e58fe Explicitly close MatterControl on test conclusion 2017-06-11 09:58:25 -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
Lars Brubaker
6c22a896d9 Taking out center on bed for design tools. 2017-06-08 14:43:01 -07:00
John Lewin
5cbcee976e Convert LibraryRemoveSelectedItem to extension method 2017-06-06 18:52:13 -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
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
8a1163d699 Move ApartmentState.STA attribute to class 2017-06-04 17:39:30 -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
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
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
John Lewin
ce6a3834fc Fix LibrarySelection -> Rename
- RenameButtonRenameLocalLibraryItem test passing
- Get LibrarySelection->Remove action to compile after refactoring
- Make LibraryRenameSelectedItem an extension method and update callers
2017-06-03 13:31:07 -07:00
John Lewin
6a1c0b5769 Revise HardwareLevelingUITests 2017-06-03 08:20:09 -07:00
John Lewin
39fb56453e Revise PrinterRequestsResumeWorkingAsExpected test
- Test still failing due to pause dialogs not appearing
- Make WaitForPrintFinished helper/extension method
2017-06-02 21:20:56 -07:00
John Lewin
b0957cdd13 Return emulator from helper function, remove casts to Emulator
- Use variable name that reflects type
2017-06-02 19:57:15 -07:00
John Lewin
ccd83ba673 Extract default file plating helper to extension method 2017-06-02 19:50:08 -07:00
John Lewin
563b371395 Make SwitchToAdvancedSliceSettings helper an extension method
- Rename for clarity - numerous Settings contexts in application
2017-06-02 19:49:33 -07:00
Lars Brubaker
e7327cbce5 This test requires we call initialize. 2017-06-01 09:50:36 -07:00
John Lewin
4d54f7153d Fix build error 2017-05-25 18:57:04 -07:00
John Lewin
08d2a6ab1a Working toward shared ViewControls3D and functional slicing
- More missing functionality restored in action bars/slicing views
2017-05-25 01:15:00 -07:00
John Lewin
9f6821305c Fix ClickingShowTerminalButtonOpensTerminal test
- Remove test navigation to SettingsAndControls
2017-05-21 22:11:27 -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
c24480e4ed Fix list item names, use DoubleClickByName to automate library items
- Remove unused 'up folder' list view item code
2017-05-20 17:47:36 -07:00
John Lewin
e882f925ed Fix failing MatterControlRuns test
- Switch control to validate from 'SettingsAndControls' to 'Library Tab'
2017-05-20 15:50:17 -07:00
John Lewin
03a593f1b5 Move to new library model and view
- Add new listview control for library content
- Migrate library providers to containers
  - Cloud, Sqlite, Directories, Queue, History
- Migrate SideBar components to containers
  - Primatives, Text, Braille, ImageConverter
- Create new library container types
  - Zip files, Calibration parts, Printer SDCards
- Reduce leftnav to Library, Settings, Controls, Options
- Add DragDrop support for image content
2017-05-20 00:41:02 -07:00
Lars Brubaker
352eb792f1 Merge branch 'smash_1.7.1' into design_tools
# Conflicts:
#	PartPreviewWindow/View3D/View3DWidget.cs
#	SlicerConfiguration/SliceSettingsWidget.cs
#	SlicerConfiguration/SlicingQueue.cs
#	StaticData/SliceSettings/Properties.json
2017-05-19 14:57:04 -07:00
Lars Brubaker
a1e1c48d90 All new 1.7.1 changes 2017-05-19 14:39:57 -07:00
Lars Brubaker
d676e8f30e adressing: MatterHackers/MatterControl#2000
Changed code to look for "T0:" rather than starts with "ok T0:
Wrote test to ensue we are parsing temps correctly
2017-03-21 14:26:54 -07:00
John Lewin
907609b587 Design tools 2017-03-15 16:29:56 -07:00
Lars Brubaker
84afaf8292 Update to framework 4.6.1 2017-03-15 14:45:14 -07:00
John Lewin
458f0649e6 Wait up to 1 second for SettingsAndControls to appear 2017-03-09 14:25:20 -08:00
John Lewin
ab8cb11d92 Tuning adjustments default to 1.0 on application restart 2017-03-09 12:46:06 -08:00
Lars Brubaker
5218a82783 Fixed regression where we turned off sd card printing temps.
Wrote regression test for cancel print code
Made the emulator able to simulate sd card files
2017-03-07 17:52:44 -08:00
Lars Brubaker
def442958b Wrote a new test that ensures we can export library items. 2017-03-07 14:13:35 -08:00
Lars Brubaker
b88416163c Fixing tests 2017-03-01 17:05:48 -08:00
Lars Brubaker
dde57d537f Fixed test 2017-03-01 16:02:23 -08:00