Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
S-Panta opened this issue May 7, 2024 · 0 comments · Fixed by #10886
Closed

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

S-Panta opened this issue May 7, 2024 · 0 comments · Fixed by #10886
Assignees
Labels

Comments

@S-Panta
Copy link
Contributor

S-Panta commented May 7, 2024

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
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants