Enforce customer boundaries on token administration and finalize fleet navigation
This commit is contained in:
@@ -29,6 +29,7 @@ const assert = (value, code) => { if (!value) throw new Error(code || 'UI contra
|
||||
const session = await (await sessionResponse).json();
|
||||
assert(session.testsimulation === true && session.approval_origin === 'dev_test_browser_simulation' && session.principal === 'simulated-testprincipal-a', 'SESSION');
|
||||
await page.getByRole('status').filter({ hasText: 'SIMULIERT' }).waitFor();
|
||||
await page.getByRole('link', { name: 'Aufträge', exact: true }).click();
|
||||
await page.getByRole('button', { name: operationId, exact: true }).click();
|
||||
await page.getByRole('button', { name: `Job ${jobId} · unknown`, exact: true }).click();
|
||||
const job = page.locator('article').filter({ has: page.getByRole('heading', { name: `Job ${jobId}`, exact: true }) });
|
||||
|
||||
Reference in New Issue
Block a user