Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

e2e tests for sse (server sent events) #10839

Closed

Description

@v-scharf

related tasks and PRs:

e2e tests for SSE:

spaces resources:

creating:

  • upload file/folder
  • create file/folder (.txt .odt)
  • restore file/folder from trash
  • move file/folder
  • copy file/folder
  • lock/unlock file

updating:

  • rename file/folder
  • change file content
  • restore file version

space:

  • disable
  • enable
  • delete
  • change description/space image/space icon
  • space-member-added
  • space-member-removed
  • space-share-updated

share:

  • share created
  • share updated
  • share deleted

event in the eventStream in the GET api/v1/notifications/sse request:

NOTIFICATION = 'userlog-notification',
POSTPROCESSING_FINISHED = 'postprocessing-finished',
FILE_LOCKED = 'file-locked',
FILE_UNLOCKED = 'file-unlocked',
FILE_TOUCHED = 'file-touched',
ITEM_RENAMED = 'item-renamed',
ITEM_TRASHED = 'item-trashed',
ITEM_RESTORED = 'item-restored',
ITEM_MOVED = 'item-moved',
FOLDER_CREATED = 'folder-created',
SPACE_MEMBER_ADDED = 'space-member-added',
SPACE_MEMBER_REMOVED = 'space-member-removed',
SPACE_SHARE_UPDATED = 'space-share-updated',
SHARE_CREATED = 'share-created',
SHARE_REMOVED = 'share-removed',
SHARE_UPDATED = 'share-updated',
LINK_CREATED = 'link-created',
LINK_REMOVED = 'link-removed',
LINK_UPDATED = 'link-updated'

Besides the appearance/disappearance of resources on the web page, we usually check the api responses. but checking notifications/sse seems tricky. We need to somehow listen GET api/v1/notifications/sse during the whole test, which is triggered only once after login and gets 200 with an empty response.

Activity

  1. self-assigned this
    on Apr 30, 2024
  2. v-scharf commented on May 24, 2024

    @v-scharf
    ContributorAuthor

    The sse is not yet fully implemented. Therefore, only this test suite is available for now

  3. saw-jan commented on May 24, 2024

    @saw-jan
    Member

    The sse is not yet fully implemented. Therefore, only this test suite is available for now

    So we are skipping these for now. 👍

    space:

    • disable
    • enable
    • delete
    • change description/space image/space icon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions