Commit graph

47 commits

Author SHA1 Message Date
Lars Brubaker
16866e5f95 Don't try to heat bed if it doesn't exists. 2017-08-09 14:35:28 -07:00
Lars Brubaker
7c5f5a2775 Brought in the changes to set temp before leveling. 2017-08-08 17:49:26 -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
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
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
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
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
f7dba678cd Use new Task.CompletedTask result for clarity 2017-06-04 08:35:29 -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
89f3d26835 Revise QualitySettingsStayAsOverrides test
- Move ApartmentState.STA attributes to class
- Remove wrapper class, make part of SliceSettingsTests
2017-06-03 18:33:48 -07:00
John Lewin
6a1c0b5769 Revise HardwareLevelingUITests 2017-06-03 08:20:09 -07:00
John Lewin
8e4a02684e Revise CancelingNormalPrintTurnsHeatAndFanOff test 2017-06-02 21:54:23 -07:00
John Lewin
30e1d20e66 Revise TuningAdjustmentControlsBoundToStreamValues test 2017-06-02 21:48:49 -07:00
John Lewin
b70908d770 Revise TuningAdjustmentsDefaultToOneAndPersists test
- Make 'Print' button visible on PrintFinished state
2017-06-02 21:42:19 -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
f770384137 Revise PulseRequiresLevelingAndLevelingWorks
- Test still fails likely due to recent bug in 1.7
2017-06-02 21:07:54 -07:00
John Lewin
543ddced7c Use single statement test syntax 2017-06-02 20:29:03 -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
John Lewin
fa800c4a3b Get first ActivePrintItem test passing again
- CompletingPrintTurnsoffHeat now passing
- Create new 'Add to Plate' action for library selections
- Create zip files after print->slice->ActivePrintItem success
- Copy generated gcode into zip
- Copy SliceSettings into zip
  - Make DocumentPath on PrinterSettings public
- Copy printer plate to zip file
- Add ClearPlate helper function to ApplicationController
- Invoke ClearPlate on startup to initialize ActivePrintItem
- Make SliceSettings user mode resets SliceSettings not AdvControls
- Make Library Overflow menu and items automatable
2017-06-02 17:06:27 -07:00
John Lewin
9f6821305c Fix ClickingShowTerminalButtonOpensTerminal test
- Remove test navigation to SettingsAndControls
2017-05-21 22:11:27 -07:00
Lars Brubaker
a1e1c48d90 All new 1.7.1 changes 2017-05-19 14:39:57 -07: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
John Lewin
6bdcc19dd2 Fix path to ScrollableWidget, remove dead code 2017-02-24 08:52:08 -08:00
John Lewin
71bb68eb01 Modify tuning adjustment test to validate and expect new behavior
- Renamed to TuningAdjustmentsDefaultToOneAndPersist
- Move control and model validation to reusable function
2017-02-02 13:38:49 -08:00
John Lewin
3aa13d82c4 Persist tuning adjustments into printer settings 2017-02-02 10:56:14 -08:00
John Lewin
5f395c1aa0 Use new .Delay function 2017-02-01 13:07:29 -08:00
John Lewin
d34c42487f Add test for MatterHackers/MCCentral#1139 2017-02-01 11:10:18 -08:00
Lars Brubaker
19d22ce91d Refactor wait to delay 2017-02-01 10:12:31 -08:00
Lars Brubaker
da7bc876a0 Fixed a fix needed test
Fixed macro progress display
2017-01-19 12:35:33 -08:00
Lars Brubaker
de916a835b Making test better 2017-01-12 17:56:55 -08:00
Lars Brubaker
3a24c277a5 Trying to improve reliability of test 2017-01-12 14:18:04 -08:00
larsbrubaker
502f69e519 Waiting for done button was failing if slow computer 2017-01-11 21:29:01 -08:00
Lars Brubaker
79eb185f38 Allow more time to finish. 2017-01-10 19:31:47 -08:00
Lars Brubaker
a0cbd00017 Give test more time 2017-01-10 18:08:46 -08:00
Lars Brubaker
89cd8ebb3e Fixed the print leveling bug 2017-01-10 17:30:27 -08:00
Lars Brubaker
83832c77e1 Made the emulator track and report position
Made a failing test for print leveling working
2017-01-10 17:20:24 -08:00
Lars Brubaker
df4cf416d8 Put back in the dispose 2017-01-10 13:43:12 -08:00
Lars Brubaker
fe80c09668 Took out old emulator and put in a new c# one 2017-01-10 12:24:01 -08:00
Lars Brubaker
515966b0f0 Created a new printer turns of temps test
Fixed the test to pass
Made emulator turn off bed temp correctly.
2017-01-03 10:45:16 -08:00