mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
test(app): use platform shortcut for split-pane coverage
This commit is contained in:
@@ -55,7 +55,10 @@ async function selectAgent(page: Page, title: string) {
|
||||
}
|
||||
|
||||
async function moveActiveTabRight(page: Page) {
|
||||
await page.keyboard.press("Meta+Alt+Shift+ArrowRight");
|
||||
const modifier = await page.evaluate(() =>
|
||||
navigator.platform.toLowerCase().includes("mac") ? "Meta" : "Control",
|
||||
);
|
||||
await page.keyboard.press(`${modifier}+Alt+Shift+ArrowRight`);
|
||||
}
|
||||
|
||||
async function commitMessage(scenario: ViewedTimelineScenario, agentId: string, prompt: string) {
|
||||
|
||||
Reference in New Issue
Block a user