Skip to content

[QA] add tests for new template for WebOffice #10367

Closed

Description

ocis has various template files for OnlyOffice and Collabora.

#10276
#9785

  • check for app/list
    {
      "mime_type": "application/vnd.oasis.opendocument.spreadsheet-template",
      "app_providers": [
        {
          "address": "com.owncloud.api.collaboration.OnlyOffice",
          "name": "OnlyOffice",
          "description": "Open office documents with Collabora",
          "icon": "https://onlyoffice.owncloud.test/web-apps/apps/documenteditor/main/resources/img/favicon.ico",
          "secure_view": false,
          "target_ext": "xlsx"
        }
      ]
    }

check for mime_type and target_ext

OnlyOffice Collabora
application/vnd.ms-word.template.macroenabled.12 application/vnd.oasis.opendocument.spreadsheet-template
application/vnd.oasis.opendocument.text-template application/vnd.oasis.opendocument.text-template
application/vnd.openxmlformats-officedocument.wordprocessingml.template application/vnd.oasis.opendocument.presentation-template
application/vnd.oasis.opendocument.spreadsheet-template
application/vnd.ms-excel.template.macroenabled.12
application/vnd.openxmlformats-officedocument.spreadsheetml.template
application/vnd.oasis.opendocument.presentation-template
application/vnd.ms-powerpoint.template.macroenabled.12
application/vnd.openxmlformats-officedocument.presentationml.template
  • check for app/open with template_id parameter

Activity

  1. amrita-shrestha commented on Nov 28, 2024

    @amrita-shrestha
    Contributor

    test has been added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions