John Hill
Web UI Test Engineer
Open MCT
// Find the button on the page
const createButton = page.locator('button:has-text("Create")');
// Assert that button is visible and appears enabled
await expect(createButton).toBeEnabled();
// Take a snapshot of the entire page
await percySnapshot(page, 'Button in context');
git clone https://github.com/nasa/openmct.git
npm install
npm run test:e2e:visual