Skip to content
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
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ and this project adheres to
### Fixed

- 🐛(backend) duplicate sub docs as root for reader users
- ⚗️(service-worker) remove index from cache first strategy #1395
- 🐛(frontend) fix 404 page when reload 403 page #1402
- 🐛(frontend) fix legacy role computation #1376

## [3.7.0] - 2025-09-12

Expand Down Expand Up @@ -47,7 +49,6 @@ and this project adheres to
### Fixed

- 🐛(frontend) fix callout emoji list #1366
- 🐛(frontend) fix legacy role computation #1376

## [3.6.0] - 2025-09-04

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,9 @@ test.describe('Doc Header', () => {

// Pin
await page.getByText('push_pin').click();
await page.getByLabel('Open the document options').click();
await page
.getByRole('button', { name: 'Open the document options' })
.click();
await expect(page.getByText('Unpin')).toBeVisible();

await page.goto('/');
Expand Down
9 changes: 6 additions & 3 deletions src/frontend/apps/e2e/__tests__/app-impress/utils-share.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,12 @@ export const connectOtherUserToDoc = async (
const otherPage = await otherContext.newPage();
await otherPage.goto(docUrl);

await otherPage.getByRole('button', { name: 'Login' }).click({
timeout: 15000,
});
await otherPage
.getByRole('main', { name: 'Main content' })
.getByLabel('Login')
.click({
timeout: 15000,
});

await keyCloakSignIn(otherPage, otherBrowserName, false);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
NetworkFirst,
NetworkFirstOptions,
NetworkOnly,
StaleWhileRevalidate,
StrategyOptions,
} from 'workbox-strategies';

Expand Down Expand Up @@ -104,8 +105,6 @@ const FALLBACK = {
images: '/assets/img-not-found.svg',
};
const precacheResources = [
'/',
'/index.html',
'/401/',
'/404/',
FALLBACK.offline,
Expand Down Expand Up @@ -255,7 +254,7 @@ registerRoute(
* Cache all other files
*/
setDefaultHandler(
getStrategy({
new StaleWhileRevalidate({
cacheName: getCacheNameVersion('default'),
plugins: [
new CacheableResponsePlugin({ statuses: [0, 200] }),
Expand Down
Loading