Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix e2e

sytolkff650870f9f4
diff --git a/app/components/RenderHistory.tsx b/app/components/RenderHistory.tsx
index 2de47a55e..3a1356ccd 100644
--- a/app/components/RenderHistory.tsx
+++ b/app/components/RenderHistory.tsx
@@ -53,7 +53,8 @@ function RenderHistory(props: Props) {
const currentLocationId = useSelector(getCurrentLocationId);
const { historyKey, items, update, maxItems, showDelete = true } = props;
- const openLinkDispatch = link => dispatch(AppActions.openLink(link));
+ const openLinkDispatch = link =>
+ dispatch(AppActions.openLink(link, { fullWidth: false }));
const openLocationByIdDispatch = locationId =>
dispatch(AppActions.openLocationById(locationId));
diff --git a/tests/e2e/quick-access.pw.e2e.js b/tests/e2e/quick-access.pw.e2e.js
index 5d9e30fe3..b3f891c92 100644
--- a/tests/e2e/quick-access.pw.e2e.js
+++ b/tests/e2e/quick-access.pw.e2e.js
@@ -123,6 +123,9 @@ test.describe('TST09 - Quick access', () => {
//Delete
await clickOn('[data-tid=toggleBookmarkTID]');
+ //await clickOn('[data-tid=fileContainerCloseOpenedFile]');
+ //await clickOn('[id=mobileMenuButton]');
+
await clickOn('[data-tid=BookmarksMenuTID]');
await clickOn('[data-tid=refreshBookmarksTID]');