Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions test/+wt/+test/FileSelector.m
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ function testButtonLabel(testCase)
% line.
function testButton(testCase)

% Running in desktop mode?
testCase.assumeEqual(exist('desktop', 'file'), 6, 'Cannot find function ''desktop.m''.')
testCase.assumeTrue(desktop('-inuse'), 'MATLAB must run in desktop mode in order to complete current test.')

% Get the button control
buttonControl = testCase.Widget.ButtonControl;

Expand Down
4 changes: 4 additions & 0 deletions test/+wt/+test/PasswordField.m
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ function testValue(testCase)

function testTyping(testCase)

% Running in desktop mode?
testCase.assumeEqual(exist('desktop', 'file'), 6, 'Cannot find function ''desktop.m''.')
testCase.assumeTrue(desktop('-inuse'), 'MATLAB must run in desktop mode in order to complete current test.')

% Get the password field
passField = testCase.Widget.PasswordControl;
newValue = "AbC435!";
Expand Down
Loading