John Lewin
5804173ab9
Use automation helper to validate ActivePrinters.First is valid
...
- Not valid for use in multi-printer scenarios
2018-11-30 14:08:29 -08:00
Lars Brubaker
6405dad7ac
Convert static SettingChanged event to instance based
...
issue: MatterHackers/MCCentral#4551
2018-11-12 17:45:13 -08:00
John Lewin
cbc856f1c5
Fix test project build breaks
2018-11-12 14:45:53 -08:00
John Lewin
2e92709297
Ensure printer name changes are applied and observed in view
...
- Issue MatterHackers/MCCentral#4320
Investigate PrinterSelector/ProfileManager(Name) concerns
2018-10-25 07:35:49 -07:00
John Lewin
6dc0b4c160
Rename helper method
2018-10-11 21:47:19 -07:00
John Lewin
baa13c67f6
Fix failing tests
2018-10-11 17:47:21 -07:00
Lars Brubaker
a97f117029
Getting + tab to open on startup
...
Fixing test that failed as part of this
2018-02-08 15:42:23 -08:00
Lars Brubaker
104ac94632
One more test passing
2018-01-25 08:41:15 -08:00
John Lewin
c5ea8bb3c0
Update automation tests to account for printer settings changes
2017-12-28 09:02:44 -08:00
John Lewin
deed45ab4a
Fix CancelWorksAsExpected & RaftEnabledPassedToSliceEngine tests
...
- Make start/stop print automatable
- Make test helpers for:
- OpenPrintPopupMenu
- StartPrint
- OpenGCode3DOverflowMenu
- SwitchToSliceSettings
- EnsurePrintersSidebarOpen
2017-12-14 16:19:22 -08:00
John Lewin
c2b2175168
Fix and update SliceSetting field identifiers
2017-09-14 14:47:08 -07:00
Lars Brubaker
1c40b3daba
Getting more test to pass
2017-08-30 16:44:32 -07:00
John Lewin
1109b7b4ab
Remove timeout from ClickByName
2017-06-14 11:13:39 -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
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
f7dba678cd
Use new Task.CompletedTask result for clarity
2017-06-04 08:35:29 -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
John Lewin
0cabc4af74
Modify ClickByName automation helper to throw if not found
2016-12-01 13:25:17 -08: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
de2535715d
Fix compile error
2016-10-19 11:18:31 -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
b4f75311bb
Fix PrinterNameStaysChanged test
...
- Document AddTestResult calls with descriptions
2016-09-23 19:02:22 -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
Greg
0451a27fae
Made improvements to printer name change test
...
Now we check the printer dropdown list to make sure it gets updated with the name change.
2016-09-13 17:06:44 -07:00
Greg
2efe180ae7
Test: Editing printer name changes droplist and persists
...
MatterHackers/MCCentral#381
2016-09-13 12:58:07 -07:00