Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
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
2 changes: 1 addition & 1 deletion .github/workflows/desktop-ui-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ jobs:
BIBCODE_E2E_ARTIFACT_DIR: ${{ runner.temp }}/bibcode-desktop-ui-artifacts
run: |
if [[ "$BIBCODE_E2E_PLATFORM" == "linux" ]]; then
xvfb-run --auto-servernum vp run test:ui:desktop
xvfb-run --auto-servernum -s '-screen 0 1920x1080x24' vp run test:ui:desktop
else
vp run test:ui:desktop
fi
Expand Down
3 changes: 3 additions & 0 deletions apps/desktop/e2e/specs/chat-activity-panel.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import * as NodePath from "node:path";
import {
configureDesktopActivityCodexExecutable,
materializeDesktopActivitySession,
waitForDesktopActivityCodexInventory,
startDesktopActivityComposerFollowupTurn,
startDesktopActivityFollowupTurn,
stopDesktopActivitySession,
Expand Down Expand Up @@ -127,6 +128,7 @@ async function openMaterializedFixtureChat(): Promise<{
readonly threadId: string;
}> {
await ensureMainSidebarOpen();
const inventory = await waitForDesktopActivityCodexInventory();
const materialized = await materializeDesktopActivitySession(preparedProjectPath);
await configureDesktopActivityCodexExecutable(preparedCodexExecutable);
expect(materialized.threadId).toBe(desktopActivityFixture.thread.id);
Expand All @@ -137,6 +139,7 @@ async function openMaterializedFixtureChat(): Promise<{
JSON.stringify(
{
...materialized,
inventory,
},
null,
2,
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/e2e/specs/composer-message-queue.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ describe("packaged composer message queue", () => {
await openInitialCodexDraft();
await setDesktopUiWindowSize(1_100, 900);
await expect(composerForm().$('[data-chat-provider-model-picker="true"]')).toHaveText(
expect.stringContaining("GPT-5.4"),
expect.stringContaining("Codex default"),
);
const baseline = readProviderInputLog(preparedProviderInputLogPath).length;
const prompt = "first [[slow]]";
Expand Down
5 changes: 4 additions & 1 deletion apps/desktop/e2e/specs/files-binary-preview.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import * as NodePath from "node:path";
import { desktopUiFixture } from "../support/test-project.ts";
import {
ensureMainSidebarOpen,
expectRightPanelBesideChat,
mockDesktopUiFolderPicker,
setDesktopUiWindowSize,
} from "../support/ui-state.ts";
Expand Down Expand Up @@ -194,7 +195,9 @@ async function loadedImage(): Promise<{ width: number; height: number } | null>
describe("packaged Files binary previews", () => {
it("shows a PNG, an SVG without running its script, and a PDF from the Files tree", async () => {
writeFixtureFiles();
await setDesktopUiWindowSize(1_600, 1_000);
// The case needs only the Files panel beside the chat, and this size fits a laptop screen.
await setDesktopUiWindowSize(1_200, 720);
await expectRightPanelBesideChat();
await openFixtureWorkspace();
await openFilesSurface();
await watchSecurityPolicyViolations();
Expand Down
Loading
Loading