chore: adjustment options menu (#3455)

This commit is contained in:
JimmFly
2023-07-31 15:56:51 +08:00
committed by GitHub
parent 4d4923cd37
commit 9567471e7f
5 changed files with 62 additions and 79 deletions

View File

@@ -96,9 +96,10 @@ test('app theme', async ({ page, electronApp }) => {
}
{
await page.getByTestId('editor-option-menu').click();
await page.getByTestId('change-theme-dark').click();
await page.getByTestId('settings-modal-trigger').click();
await page.getByTestId('appearance-panel-trigger').click();
await page.waitForTimeout(50);
await page.getByTestId('dark-theme-trigger').click();
const themeMode = await root.evaluate(element =>
element.getAttribute('data-theme')
);