mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 05:18:15 +00:00
fix: settings cypress test after style changes
This commit is contained in:
parent
b263e24e56
commit
8d4c9c77bf
@ -15,12 +15,8 @@ describe('Settings', () => {
|
||||
cy.loginAdmin();
|
||||
// Visit the home page
|
||||
cy.visit('/');
|
||||
// Open the sidebar if it is not already open
|
||||
cy.get('[aria-label="Open sidebar"]').then(() => {
|
||||
cy.get('button[id="sidebar-toggle-button"]').click();
|
||||
});
|
||||
// Click on the profile link
|
||||
cy.get('button').contains(adminUser.name).click();
|
||||
// Click on the user menu
|
||||
cy.get('button[aria-label="User Menu"]').click();
|
||||
// Click on the settings link
|
||||
cy.get('button').contains('Settings').click();
|
||||
});
|
||||
|
@ -141,6 +141,7 @@
|
||||
>
|
||||
<button
|
||||
class=" flex rounded-xl p-1.5 w-full hover:bg-gray-100 dark:hover:bg-gray-850 transition"
|
||||
aria-label="User Menu"
|
||||
>
|
||||
<div class=" self-center">
|
||||
<img
|
||||
|
Loading…
Reference in New Issue
Block a user