Skip to content

Conversation

@priya-patel04
Copy link
Collaborator

@priya-patel04 priya-patel04 commented Nov 7, 2025

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.

  1. It should skip RDP tests:
  • If you dont have Windows App installed on mac
  • If you dont have Remote Desktop Connection app on windows

Checklist

  • I have added before and after screenshots for UI changes
  • I have added JSON response output for API changes
  • I have added steps to reproduce and test for bug fixes in the description
  • I have commented on my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have added a11y-tests label to run a11y audit tests if needed

PCI review checklist

  • I have documented a clear reason for, and description of, the change I am making.
  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.
  • If applicable, I've documented the impact of any changes to security controls.
    Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.

@vercel
Copy link

vercel bot commented Nov 7, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
boundary-ui Ready Ready Preview Comment Nov 7, 2025 3:41pm
boundary-ui-desktop Ready Ready Preview Comment Nov 7, 2025 3:41pm

return true;
} else if (process.platform === 'darwin') {
const result = execSync(
['kMDItemCFBundleIdentifier == "com.microsoft.rdc.macos"'],
Copy link
Collaborator

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());
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants