two column layout for desktop

This commit is contained in:
2024-10-12 01:17:44 -05:00
parent 5acb6af50a
commit ff98c46ed2
5 changed files with 41 additions and 2 deletions

View File

@@ -14,7 +14,9 @@ test('nav items work', async ({ page }) => {
const currentPaneId = `pane-${pane}`;
await page.locator(`nav li[aria-controls="${currentPaneId}"]`).click();
await expect(page.locator(`#${currentPaneId}`)).toBeVisible();
await expect(page.locator(lastPane)).toBeHidden();
if (lastPane !== '#pane-preview') {
await expect(page.locator(lastPane)).toBeHidden();
}
lastPane = `#${currentPaneId}`;
}
});