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.

App provider tests failing in nightly while waiting for locator #10880

Closed

Description

@S-Panta

Description

Test scenarios in e2e-tests-oCIS-app-provider are failing while waiting for locator.

Build:

Failed Scenarios:

Scenario: file lock indication # tests/e2e/cucumber/features/app-provider/lock.feature:8
    Given "Admin" creates following users using API
      │ id    │
      │ Alice │
      │ Brian │
      │ Carol │
(node:43) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
    And "Alice" logs in
Listening to SSE events...
    And "Alice" creates the following files into personal space using API
      │ pathToFile │ content      │
      │ test.odt   │ some content │
    And "Alice" shares the following resource using API
      │ resource │ recipient │ type │ role     │
      │ test.odt │ Brian     │ user │ Can edit │
    And "Brian" logs in
Listening to SSE events...
    And "Brian" navigates to the shared with me page
    When "Brian" opens the following file in Collabora
      │ resource │
      │ test.odt │
    Then "Brian" should see the content "some content" in editor "OnlyOffice"
    ✖ failed
      locator.click: Timeout 30000ms exceeded.
      =========================== logs ===========================
      waiting for frameLocator('[name="app-iframe"]').frameLocator('[name="frameEditor"]').locator('#id_viewer_overlay')
      ============================================================
          at Object.openAndGetContentOfDocument (/var/www/owncloud/web/tests/e2e/support/objects/app-files/resource/actions.ts:412:64)
          at async Public.getContentOfOpenDocumentOrMicrosoftWordDocument (/var/www/owncloud/web/tests/e2e/support/objects/app-files/page/public.ts:96:12)
          at async World.<anonymous> (/var/www/owncloud/web/tests/e2e/cucumber/steps/ui/public.ts:97:31)
Scenario: create a Microsoft Word file with OnlyOffice # tests/e2e/cucumber/features/app-provider/officeSuites.feature:28
    Given "Admin" creates following users using API
      │ id    │
      │ Alice │
    And "Alice" logs in
    And "Alice" opens the "files" app
    When "Alice" creates the following resources
      │ resource           │ type           │ content                │
      │ MicrosoftWord.docx │ Microsoft Word │ Microsoft Word Content │
    And "Alice" creates a public link of following resource using the sidebar panel
      │ resource           │ role     │ password │
      │ MicrosoftWord.docx │ Can edit │ %public% │
    And "Alice" logs out
    And "Anonymous" opens the public link "Link"
    And "Anonymous" unlocks the public link with password "%public%"
    Then "Anonymous" should see the content "Microsoft Word Content" in editor "OnlyOffice"
    ✖ failed
      locator.click: Timeout 30000ms exceeded.
      =========================== logs ===========================
      waiting for frameLocator('[name="app-iframe"]').frameLocator('[name="frameEditor"]').locator('#id_viewer_overlay')
        locator resolved to <canvas width="931" height="486" class="block_elem" id="…></canvas>
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