Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
migrate(e2e): workspace from Protractor to Playwright
Agent-Logs-Url: https://github.com/superdesk/superdesk-client-core/sessions/d3f35282-bf9b-42d6-bdbd-8360c01fcd7d

Co-authored-by: eos87 <124766+eos87@users.noreply.github.com>
  • Loading branch information
Copilot and eos87 authored May 20, 2026
commit 65a6ef935b808449f6d8f6c9fdd9c996811dfdbc
33 changes: 33 additions & 0 deletions e2e/MIGRATION_REPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# E2E consolidation on Playwright — migration report

## Frameworks found in this repo
- Protractor (count: 30)

## Totals
- Original non-Playwright specs: 30
- Migrated: 1
- Blocked: 0 (see below)
- Obsolete: 0 (see below)
- Flaky: 0 (see below)
- Redundant: 0 (see below)

## Migrated specs
- Protractor `e2e/client/specs/workspace_spec.ts` -> `e2e/client/playwright/workspace.spec.ts` [pending] — Given the authenticated user is on the dashboard, when they use the workspace hotkeys, then the app switches to monitoring, spiked, personal, search, and back to dashboard.

## Blocked
- None yet.

## Obsolete
- None yet.

## Flaky
- None yet.

## Redundant
- None yet.

## Product source changes
- None yet.

## Frameworks removed
- None yet.
Binary file not shown.
Binary file removed e2e/client/blob-report/report-chromium-9b54b82.zip
Binary file not shown.
115 changes: 0 additions & 115 deletions e2e/client/playwright/utils/index.js

This file was deleted.

24 changes: 24 additions & 0 deletions e2e/client/playwright/workspace.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import {test, expect} from '@playwright/test';
import {restoreDatabaseSnapshot, s} from './utils';

test('can switch views by keyboard', async ({page}) => {
await restoreDatabaseSnapshot();
await page.goto('/#/workspace');

await expect(page.locator(s('dashboard'))).toBeVisible();

await page.keyboard.press('Alt+m');
await expect(page).toHaveURL(/.*\/#\/workspace\/monitoring/);

await page.keyboard.press('Control+Alt+k');
await expect(page).toHaveURL(/.*\/#\/workspace\/spike-monitoring/);

await page.keyboard.press('Alt+p');
await expect(page).toHaveURL(/.*\/#\/workspace\/personal/);

await page.keyboard.press('Control+Alt+f');
await expect(page).toHaveURL(/.*\/#\/search/);

await page.keyboard.press('Control+Alt+b');
await expect(page).toHaveURL(/.*\/#\/workspace$/);
});
35 changes: 0 additions & 35 deletions e2e/client/specs/workspace_spec.ts

This file was deleted.