diff --git a/e2e-tests/playwright/lib/src/ui/components/channels/center_view.ts b/e2e-tests/playwright/lib/src/ui/components/channels/center_view.ts index 29c9712473..62fd0d7106 100644 --- a/e2e-tests/playwright/lib/src/ui/components/channels/center_view.ts +++ b/e2e-tests/playwright/lib/src/ui/components/channels/center_view.ts @@ -133,7 +133,7 @@ export default class ChannelsCenterView { const messageLocator = this.scheduledDraftChannelInfoMessage.first(); try { await expect(messageLocator).toContainText('Message scheduled for'); - } catch (error) { + } catch { // First assertion failed, trying fallback await expect(messageLocator).toContainText('You have one scheduled message.'); }