sync: update from private repo (2336949a)
CI / build-and-test (push) Canceled after 0s

This commit is contained in:
oss-sync
2026-09-17 11:29:31 +00:00
parent 28f74c4e37
commit 57702b4f34
2139 changed files with 321270 additions and 17494 deletions
+25
View File
@@ -0,0 +1,25 @@
---
description: Log in and grab the dashboard table
params:
- name: user
type: string
- name: pass
type: string
session_profile_id: 7
recording_source: rec-test.json
---
async function main({ context, params }) {
const page = await context.newPage();
try {
await page.goto('https://example.com/login');
await page.locator('[data-testid="username"]').fill(params.user);
await page.locator('[data-testid="password"]').fill(params.pass);
await page.locator('button[type="submit"]').click();
const __text = await page.locator('[data-testid="dashboard"]').evaluate(__maskedText);
return __text;
} finally {
await page.close();
}
}
module.exports = main;