mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-07 14:08:38 +00:00
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:
@@ -19,7 +19,7 @@ test.describe('Code Generation URL Encoding', () => {
|
||||
createTmpDir
|
||||
}) => {
|
||||
// Use plus icon button in new workspace UI
|
||||
await page.locator('.plus-icon-button').click();
|
||||
await page.getByTestId('collections-header-add-menu').click();
|
||||
await page.locator('.tippy-box .dropdown-item').filter({ hasText: 'Create collection' }).click();
|
||||
await page.getByLabel('Name').fill('unencoded-test-collection');
|
||||
const locationInput = page.getByLabel('Location');
|
||||
@@ -65,7 +65,7 @@ test.describe('Code Generation URL Encoding', () => {
|
||||
createTmpDir
|
||||
}) => {
|
||||
// Use plus icon button in new workspace UI
|
||||
await page.locator('.plus-icon-button').click();
|
||||
await page.getByTestId('collections-header-add-menu').click();
|
||||
await page.locator('.tippy-box .dropdown-item').filter({ hasText: 'Create collection' }).click();
|
||||
await page.getByLabel('Name').fill('encoded-test-collection');
|
||||
const locationInput = page.getByLabel('Location');
|
||||
|
||||
Reference in New Issue
Block a user