refactor: update AppTitleBar and SidebarHeader components (#6341)

* refactor: update AppTitleBar and SidebarHeader components to use MenuDropdown and ActionIcon for improved UI consistency

* refactor: update button locators in tests to use data-testid for consistency and improved readability
This commit is contained in:
Abhishek S Lal
2025-12-08 22:06:24 +05:30
committed by GitHub
parent cf969dfcd6
commit 0197ae37c8
42 changed files with 646 additions and 284 deletions

View File

@@ -35,7 +35,7 @@ test.describe('Import OpenAPI Collection with Examples', () => {
}, { importDir });
await test.step('Open import collection modal', async () => {
await page.locator('.plus-icon-button').click();
await page.getByTestId('collections-header-add-menu').click();
await page.locator('.tippy-box .dropdown-item').filter({ hasText: 'Import collection' }).click();
});
@@ -152,7 +152,7 @@ test.describe('Import OpenAPI Collection with Examples', () => {
}, { importDir });
await test.step('Open import collection modal', async () => {
await page.locator('.plus-icon-button').click();
await page.getByTestId('collections-header-add-menu').click();
await page.locator('.tippy-box .dropdown-item').filter({ hasText: 'Import collection' }).click();
});