Lars Brubaker
7c5f5a2775
Brought in the changes to set temp before leveling.
2017-08-08 17:49:26 -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
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
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
2233529a68
Make AddAndSelectPrinter an extension method
2017-06-04 09:01:56 -07:00
John Lewin
f7dba678cd
Use new Task.CompletedTask result for clarity
2017-06-04 08:35:29 -07:00
John Lewin
6a1c0b5769
Revise HardwareLevelingUITests
2017-06-03 08:20:09 -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
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
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
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
John Lewin
0cabc4af74
Modify ClickByName automation helper to throw if not found
2016-12-01 13:25:17 -08:00
John Lewin
4a48e2d2b3
Disable broken automation test, fix typo
2016-11-03 09:13:18 -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
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
18163f7cae
Ensure spawned process is killed along all codepaths
...
- No guarantee that all test method code will run
2016-10-18 07:54:10 -07:00
John Lewin
29fadccacc
Emulator tests must shutdown spawned process
2016-10-04 12:28:42 -07:00
Lars Brubaker
e2686cde08
Make the test count correct
2016-09-27 15:33:35 -07:00
Lars Brubaker
de12a5c8ba
Finished print leveling test – fixed reset to defaults
...
Moved more things to settings key
Disabled end-user license agreement on Mac for now
2016-09-27 12:47:15 -07:00
Lars Brubaker
c3e57dcc3c
Made a setup leveling test work
2016-09-26 15:59:29 -07:00
Lars Brubaker
c3d96b6601
Working on Queue done button working test (+2 squashed commit)
...
Test that MatterControl vanilla actually stars up
Finished the resume print test
Set backup to 0
Created a SwitchToAdvancedSettings function
2016-09-22 12:35:34 -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
Lars Brubaker
c113aba7d9
Making test passed take a count
2016-09-19 17:13:11 -07:00
Lars Brubaker
be1c5eaddf
Made delete printer a function inside of MatterControl utilities
...
Re-factoring
2016-09-08 14:20:39 -07:00
Lars Brubaker
014ea6e75c
Got the remaining automation tests running
2016-09-06 16:36:25 -07:00
Lars Brubaker
2dadb72271
Changed Login -> Sign in & Logout -> Sign Out
2016-08-29 17:13:45 -07:00
Lars Brubaker
dc22e6b788
Getting more tests to pass
...
Down to 7 failing tests.
2016-08-01 17:21:31 -07:00
Lars Brubaker
d8138ac51e
Making a function to prep MatterControl prior to runing tests.
...
Made automation tests call it.
2016-07-29 16:44:00 -07:00
John Lewin
c255e46032
Move automation tests to "MatterControl.UI.Automation" category
...
- Change namespaces to MatterHackers.MatterControl.Tests.Automation
- Cleanup using statements
2016-05-11 09:16:03 -07:00
Gregory Diaz
2d42ec52e1
Added unittest for ensuring that when has_hardware_leveling = 1 we dont show the Print Leveling tab in Slice Settings and also that when has_hardware_leveling = 0 we do show Print Leveling
2016-02-01 17:20:18 -08:00