Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScript adeagent-ideai-agentsautomationbotclaude-codecodexghosttygrok-bothermes-agentmobile-appmuseopenclawopencodeorchestrationpiruntimeterminalworktreesyc-backed
import { test, expect } from './helpers/orca-app'
import { waitForActiveWorktree, waitForSessionReady } from './helpers/store'
// Why: on narrow windows the titlebar tab strip switches panels the board covers.
test.describe('Workspace board right-sidebar tab dismiss', () => {
test.skip(process.platform !== 'darwin', 'Linux and Windows draw the tab strip under the board')
test.beforeEach(async ({ orcaPage }) => {
await waitForSessionReady(orcaPage)
await waitForActiveWorktree(orcaPage)
})
test('clicking a right-sidebar tab closes the board and shows that tab', async ({
electronApp,
orcaPage
}) => {
await electronApp.evaluate(({ BrowserWindow }) => {
BrowserWindow.getAllWindows()[0].setSize(1000, 800)
})
await orcaPage.evaluate(() => {
const state = window.__store?.getState()
if (!state) {
throw new Error('window.__store is not available')
}
state.setSidebarOpen(true)
state.setRightSidebarOpen(true)
state.setRightSidebarTab('explorer')
})
await orcaPage.getByRole('button', { name: 'Workspace board' }).click()
const board = orcaPage.locator('[data-workspace-board-sheet]')
await expect(board).toBeVisible()
await board.evaluate((el) => Promise.all(el.getAnimations().map((a) => a.finished)))
await orcaPage.getByRole('button', { name: /^Source Control/ }).click()
await expect(board).toBeHidden()
await expect(orcaPage.getByTestId('source-control-filter-toggle')).toBeVisible()
})
})