Skip to content

Commit ff465b6

Browse files
committed
test: viewport change
1 parent 5caff61 commit ff465b6

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/coreE2E.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ jobs:
5959
sf org create scratch -y 1 -d -f config/project-scratch-def.json -a "$MINIMAL_ORG_ALIAS" --json --wait 30
6060
working-directory: minimal-project
6161

62+
- name: Set display resolution (macOS)
63+
if: runner.os == 'macOS'
64+
run: "/Library/Application Support/VMware Tools/vmware-resolutionSet" 1920 1080
65+
66+
- name: Set display resolution (Windows)
67+
if: runner.os == 'Windows'
68+
run: Set-DisplayResolution -Width 1920 -Height 1080 -Force
69+
shell: pwsh
70+
6271
- name: Run Core headless tests (desktop config)
6372
env:
6473
CI: 1

packages/playwright-vscode-ext/src/pages/outputChannel.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ export const outputChannelContains = async (
185185
*/
186186
export const clearOutputChannel = async (page: Page): Promise<void> => {
187187
const clearButton = page.getByRole('button', { name: 'Clear Output' }).first();
188-
await clearButton.click();
188+
// force: true - notification toasts overlay the output panel and intercept pointer events
189+
await clearButton.click({ force: true });
189190

190191
// Wait for the clear action to take effect - output should be completely empty
191192
const codeArea = outputPanelCodeArea(page);

0 commit comments

Comments
 (0)