Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 8.1.2 #196

Merged
merged 5 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cypress/e2e/health-check.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('Health check for Cypress e2e test', () => {
cy.get('body').should('include.text', 'Visualization type');
// Check the user avatar, and then log out again
cy.get('[data-testid="visyn-user-avatar"]').should('include.text', 'A').click();
cy.get('[data-testid="user-menu-item"]').parent().contains('Logout').click();
cy.get('[data-testid="visyn-user-logout"]').contains('Logout').click();
// Assert the login modal to be shown again
cy.get('[data-testid="visyn-login-modal"]').should('include.text', 'Demo App');
// Assert the content to be invisible again
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "visyn_core",
"description": "Core repository for datavisyn applications.",
"version": "8.1.1",
"version": "8.1.2",
"author": {
"name": "datavisyn GmbH",
"email": "[email protected]",
Expand Down
4 changes: 3 additions & 1 deletion src/app/header/ConfigurationMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ export function ConfigurationMenu({ menu, dvLogo, aboutAppModal }: { menu: JSX.E
</>
) : null}
<Menu.Label>About</Menu.Label>
<Menu.Item onClick={() => setShowAboutModal(true)}>About {appName}</Menu.Item>
<Menu.Item data-testid="visyn-configuration-menu-about-app-button" onClick={() => setShowAboutModal(true)}>
About {appName}
</Menu.Item>
</Menu.Dropdown>
</Menu>
<AboutAppModal
Expand Down
4 changes: 2 additions & 2 deletions src/app/header/UserMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ export function UserMenu({ menu, user, color }: { menu: JSX.Element; user: strin

<Menu.Dropdown>
<>
<Menu.Label>Logged in as {user}</Menu.Label>
<Menu.Label data-testid="visyn-user-login-information">Logged in as {user}</Menu.Label>
{menu ? (
<>
{menu}
<Menu.Divider />
</>
) : null}
<Menu.Item
data-testid="user-menu-item"
data-testid="visyn-user-logout"
onClick={() => {
LoginUtils.logout();
}}
Expand Down
Loading