mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-13 16:54:48 +00:00
Align sharing E2E with mobile settings shell
Some checks failed
Build and Test / Secret Scan (push) Waiting to run
Build and Test / Detect changed areas (push) Waiting to run
Build and Test / Frontend (push) Blocked by required conditions
Build and Test / Backend tests (api) (push) Blocked by required conditions
Build and Test / Backend tests (rest-0) (push) Blocked by required conditions
Build and Test / Backend tests (rest-1) (push) Blocked by required conditions
Build and Test / Script smoke tests & backend build (push) Blocked by required conditions
Build and Test / Benchmarks (push) Blocked by required conditions
Canonical Governance / governance (push) Waiting to run
Helm CI / Lint and Render Chart (push) Waiting to run
Public docs / check (push) Waiting to run
Core E2E Tests / Validate E2E tier selection (push) Waiting to run
Core E2E Tests / Playwright Core E2E (shard 1/8) (push) Blocked by required conditions
Core E2E Tests / Playwright Core E2E (shard 2/8) (push) Blocked by required conditions
Core E2E Tests / Playwright Core E2E (shard 3/8) (push) Blocked by required conditions
Core E2E Tests / Playwright Core E2E (shard 4/8) (push) Blocked by required conditions
Core E2E Tests / Playwright Core E2E (shard 5/8) (push) Blocked by required conditions
Core E2E Tests / Playwright Core E2E (shard 6/8) (push) Blocked by required conditions
Core E2E Tests / Playwright Core E2E (shard 7/8) (push) Blocked by required conditions
Core E2E Tests / Playwright Core E2E (shard 8/8) (push) Blocked by required conditions
Core E2E Tests / Agent registration lifecycle (push) Waiting to run
Core E2E Tests / E2E verdict (push) Blocked by required conditions
Unified Agent Native Verification / Linux ARM64 (push) Waiting to run
Unified Agent Native Verification / Linux x64 (push) Waiting to run
Unified Agent Native Verification / Windows x64 (push) Waiting to run
Unified Agent Native Verification / macOS ARM64 (push) Waiting to run
Unified Agent Native Verification / macOS Intel (push) Waiting to run
Unified Agent Native Verification / FreeBSD cross-build contract (push) Waiting to run
Patrol Qualification Regression / Catalog, scorer, and replay regression (push) Has been cancelled
Some checks failed
Build and Test / Secret Scan (push) Waiting to run
Build and Test / Detect changed areas (push) Waiting to run
Build and Test / Frontend (push) Blocked by required conditions
Build and Test / Backend tests (api) (push) Blocked by required conditions
Build and Test / Backend tests (rest-0) (push) Blocked by required conditions
Build and Test / Backend tests (rest-1) (push) Blocked by required conditions
Build and Test / Script smoke tests & backend build (push) Blocked by required conditions
Build and Test / Benchmarks (push) Blocked by required conditions
Canonical Governance / governance (push) Waiting to run
Helm CI / Lint and Render Chart (push) Waiting to run
Public docs / check (push) Waiting to run
Core E2E Tests / Validate E2E tier selection (push) Waiting to run
Core E2E Tests / Playwright Core E2E (shard 1/8) (push) Blocked by required conditions
Core E2E Tests / Playwright Core E2E (shard 2/8) (push) Blocked by required conditions
Core E2E Tests / Playwright Core E2E (shard 3/8) (push) Blocked by required conditions
Core E2E Tests / Playwright Core E2E (shard 4/8) (push) Blocked by required conditions
Core E2E Tests / Playwright Core E2E (shard 5/8) (push) Blocked by required conditions
Core E2E Tests / Playwright Core E2E (shard 6/8) (push) Blocked by required conditions
Core E2E Tests / Playwright Core E2E (shard 7/8) (push) Blocked by required conditions
Core E2E Tests / Playwright Core E2E (shard 8/8) (push) Blocked by required conditions
Core E2E Tests / Agent registration lifecycle (push) Waiting to run
Core E2E Tests / E2E verdict (push) Blocked by required conditions
Unified Agent Native Verification / Linux ARM64 (push) Waiting to run
Unified Agent Native Verification / Linux x64 (push) Waiting to run
Unified Agent Native Verification / Windows x64 (push) Waiting to run
Unified Agent Native Verification / macOS ARM64 (push) Waiting to run
Unified Agent Native Verification / macOS Intel (push) Waiting to run
Unified Agent Native Verification / FreeBSD cross-build contract (push) Waiting to run
Patrol Qualification Regression / Catalog, scorer, and replay regression (push) Has been cancelled
This commit is contained in:
parent
a18dac83b3
commit
29eeb33de4
2 changed files with 14 additions and 4 deletions
|
|
@ -290,7 +290,7 @@ test.describe('Multi-tenant E2E flows', () => {
|
|||
expect(payload.code).toBe('self_modification_denied');
|
||||
});
|
||||
|
||||
test('Scenario 6: cross-org share preserves intended access role and requires target acceptance', async ({ page }) => {
|
||||
test('Scenario 6: cross-org share preserves intended access role and requires target acceptance', async ({ page, isMobile }) => {
|
||||
await ensureAuthenticated(page);
|
||||
|
||||
const mtEnabled = await isMultiTenantEnabled(page);
|
||||
|
|
@ -363,7 +363,12 @@ test.describe('Multi-tenant E2E flows', () => {
|
|||
await page.goto('/settings/organization/sharing', { waitUntil: 'domcontentloaded' });
|
||||
await page.waitForURL(/\/settings\/organization\/sharing/, { timeout: 15_000 });
|
||||
|
||||
await expect(page.getByRole('heading', { level: 1, name: 'Organization Sharing' })).toBeVisible();
|
||||
if (isMobile) {
|
||||
await expect(page.getByRole('heading', { level: 1, name: 'Sharing', exact: true })).toBeVisible();
|
||||
await expect(page.getByRole('heading', { level: 2, name: 'Organization Sharing' })).toBeVisible();
|
||||
} else {
|
||||
await expect(page.getByRole('heading', { level: 1, name: 'Organization Sharing' })).toBeVisible();
|
||||
}
|
||||
await expect(page.getByText(outboundResourceName, { exact: true })).toBeVisible();
|
||||
await expect(page.getByText(inboundResourceName, { exact: true })).toBeVisible();
|
||||
await expect(page.getByText('Pending approval')).toHaveCount(2);
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ const jsonResponse = (body: unknown) => ({
|
|||
});
|
||||
|
||||
test.describe('Organization sharing approval UI', () => {
|
||||
test('renders pending shares and promotes accepted incoming shares in-browser', async ({ page }) => {
|
||||
test('renders pending shares and promotes accepted incoming shares in-browser', async ({ page, isMobile }) => {
|
||||
const currentUser = 'admin';
|
||||
const currentOrg = {
|
||||
id: 'default',
|
||||
|
|
@ -147,7 +147,12 @@ test.describe('Organization sharing approval UI', () => {
|
|||
return root !== null && root.childElementCount > 0;
|
||||
});
|
||||
|
||||
await expect(page.getByRole('heading', { level: 1, name: 'Organization Sharing' })).toBeVisible();
|
||||
if (isMobile) {
|
||||
await expect(page.getByRole('heading', { level: 1, name: 'Sharing', exact: true })).toBeVisible();
|
||||
await expect(page.getByRole('heading', { level: 2, name: 'Organization Sharing' })).toBeVisible();
|
||||
} else {
|
||||
await expect(page.getByRole('heading', { level: 1, name: 'Organization Sharing' })).toBeVisible();
|
||||
}
|
||||
await expect(page.getByText('Outbound Shared View', { exact: true })).toBeVisible();
|
||||
await expect(page.getByText('Inbound Shared View', { exact: true })).toBeVisible();
|
||||
await expect(page.getByText('Pending approval')).toHaveCount(2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue