-
Notifications
You must be signed in to change notification settings - Fork 32
e2e Rdp client tests #3055
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: llb/rdp-client-launch
Are you sure you want to change the base?
e2e Rdp client tests #3055
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| return true; | ||
| } else if (process.platform === 'darwin') { | ||
| const result = execSync( | ||
| ['kMDItemCFBundleIdentifier == "com.microsoft.rdc.macos"'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure the execSync call would work as intended here. I think it should be
const result = execSync(
'mdfind "kMDItemCFBundleIdentifier == \'com.microsoft.rdc.macos\'"',
{ encoding: 'utf-8' }
);
return result && result.trim().length > 0;
| {}, | ||
| 'mdfind', | ||
| ); | ||
| console.log('mdfind result:', result.result.toString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this log?
Description
Add e2e test for RDP client launch.
Note: RDP tests require a mac/windows runner in CI. Currently, we only have Ubuntu runner setup so it wont validate these tests. Skipping these tests until we set a new runner.
🎟️ Jira ticket
Screenshots (if appropriate)
How to Test
Run the e2e tests locally using this branch.
Checklist
a11y-testslabel to run a11y audit tests if neededPCI review checklist
Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.