Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 2x 1x 1x 1x 1x 1x 2x 1x | /**
* `access.session` browse-only view — sessions are not editable from the UI.
* Sessions are created on every login, so the table is populated with live,
* ever-changing rows (ULIDs + timestamps); asserting a full-page screenshot
* of the table would be inherently flaky. Instead we assert the browse page
* renders and the read-only toolbar button is present.
*/
import {expect, test} from '@feasibleone/blong-browser/playwright';
test.use({blongPermissions: true});
test.describe('Access Session', () => {
test('browse access session renders with the Close Session toolbar button', async ({
portal,
}) => {
await portal.menuClick('access.session.browse');
await portal.waitForTableData();
await expect(portal.page.getByRole('button', {name: 'Close Session'})).toBeVisible();
});
});
|