Skip to content

Commit 6297317

Browse files
Fix
1 parent c7a8ef5 commit 6297317

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

test/e2e/003-tool-access.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,14 @@ test.describe('Tool Access', () => {
9494
const scriptRow = rows.nth(1);
9595
await expect(scriptRow.locator('[role="rowheader"]')).toContainText('example/ACME-200_hello-world');
9696

97+
await attachScreenshot(testUserPage, testInfo, 'Test User Access - Script List');
98+
99+
// Check if routing blocks access to other tools
97100
await testUserPage.goto('/acm#/console');
98101
await expect(testUserPage.getByRole('button', { name: 'Console' })).not.toBeVisible();
99102

100103
await testUserPage.goto('/acm#/maintenance');
101104
await expect(testUserPage.getByRole('button', { name: 'Maintenance' })).not.toBeVisible();
102-
103-
await attachScreenshot(testUserPage, testInfo, 'Test User Access - Script List');
104105
});
105106
});
106107
});

test/e2e/005-manual-scripts.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ import { readFromCodeEditor } from './utils/editor';
1212
import { attachScreenshot } from './utils/page';
1313

1414
test.describe('Manual Scripts', () => {
15-
test('Execute CSV Generation With I/O', async ({ page }, testInfo) => {
15+
test('Execute CSV Generation', async ({ page }, testInfo) => {
1616
await page.goto('/acm');
1717
await page.getByRole('button', { name: 'Scripts' }).click();
18+
await expect(page.locator('[role="grid"][aria-label="Script list (manual)"]')).toBeVisible();
19+
1820
await attachScreenshot(page, testInfo, 'Scripts list');
1921
await page.getByText('example/ACME-203_output-csv').click();
2022
await attachScreenshot(page, testInfo, 'Script details');

0 commit comments

Comments
 (0)