Skip to content

A local-first personal finance app

[WIP] Don't show account tooltips during VRT (#2838)

Robert Dyerd62919a3579b
diff --git a/packages/desktop-client/src/components/sidebar/Account.tsx b/packages/desktop-client/src/components/sidebar/Account.tsx
index c0b89c9fa4..936fd9ea2a 100644
--- a/packages/desktop-client/src/components/sidebar/Account.tsx
+++ b/packages/desktop-client/src/components/sidebar/Account.tsx
@@ -3,6 +3,7 @@ import React from 'react';
import { css } from 'glamor';
+import * as Platform from 'loot-core/client/platform';
import { type AccountEntity } from 'loot-core/src/types/models';
import { useNotes } from '../../hooks/useNotes';
@@ -156,7 +157,7 @@ export function Account({
</View>
);
- if (!needsTooltip) {
+ if (!needsTooltip || Platform.isPlaywright) {
return accountRow;
}
diff --git a/upcoming-release-notes/2838.md b/upcoming-release-notes/2838.md
new file mode 100644
index 0000000000..9232983ed3
--- /dev/null
+++ b/upcoming-release-notes/2838.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [psybers]
+---
+
+Don't show account tooltips during VRT.