Skip to content

Commit

Permalink
add more screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
manolo committed Jan 28, 2025
1 parent 5b23ff2 commit 084bf82
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/pit/its/cc-identity-management.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ const {log, args, createPage, closePage, takeScreenshot, waitForServerReady} = r
await page.getByRole('link', { name: 'Identity Management' }).click();
await page.getByRole('button', { name: 'Enable Identity Management' }).click();
await takeScreenshot(page, __filename, 'app-updated');
await takeScreenshot(page, __filename, 'identity-management-enabled');
await takeScreenshot(page, __filename, 'enabled');

await page.getByRole('link', { name: 'Roles' }).click();
await page.getByRole('button', { name: 'Create' }).click();
await takeScreenshot(page, __filename, 'role-form');
await page.getByLabel('Name').fill(role);
await page.getByLabel('Description').fill(role);
await takeScreenshot(page, __filename, 'role-filled');
Expand All @@ -52,6 +53,7 @@ const {log, args, createPage, closePage, takeScreenshot, waitForServerReady} = r

await page.getByRole('link', { name: 'Groups' }).click();
await page.getByRole('button', { name: 'Create' }).click();
await takeScreenshot(page, __filename, 'group-form');
await page.getByLabel('Name').fill(group);
await page.locator(checkboxSelectorRole).click();
await takeScreenshot(page, __filename, 'group-filled');
Expand All @@ -60,6 +62,7 @@ const {log, args, createPage, closePage, takeScreenshot, waitForServerReady} = r

await page.getByRole('link', { name: 'Users' }).click();
await page.getByRole('button', { name: 'Create' }).click();
await takeScreenshot(page, __filename, 'user-form');
await page.getByLabel('First Name').fill(role);
await page.getByLabel('Last Name').fill('user');
await page.getByLabel('E-mail Address').fill(user);
Expand Down

0 comments on commit 084bf82

Please sign in to comment.