hunk.code_window: /* eslint-disable no-async-promise-executor */
   import { spawn } from 'node:child_process';
   import { readFileSync } from 'node:fs';
   import path from 'node:path';
   import electronPath from 'electron';
   import * as esbuild from 'esbuild';
  
hunk.labels: keep keep replace replace keep keep keep
hunk.file_path: apps/electron/scripts/dev.mjs
hunk.type: replace
file: import type { Page } from '@playwright/test';
  
  export async function clickSideBarSettingButton(page: Page) {
    return page.getByTestId('slider-bar-workspace-setting-button').click();
  }
  
  export async function clickSideBarAllPageButton(page: Page) {
    return page.getByTestId('all-pages').click();
  }
  
  export async function clickSideBarCurrentWorkspaceBanner(page: Page) {
    return page.getByTestId('current-workspace').click();
  }
  
  export async function clickNewPageButton(page: Page) {
    return page.getByTestId('new-page-button').click();
  }
  