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 #10857

Closed
PrajwolAmatya opened this issue Apr 30, 2024 · 1 comment · Fixed by #10856
Closed

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

PrajwolAmatya opened this issue Apr 30, 2024 · 1 comment · Fixed by #10856
Assignees
Labels

Comments

@PrajwolAmatya
Copy link
Contributor

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:7
...
When "Brian" opens the following file in Collabora
      │ resource │
      │ test.odt │
    Then "Brian" should see the content "some content" in editor "Collabora"
No welcome modal found. Continue...
    ✖ failed
      locator.click: Timeout 30000ms exceeded.
      =========================== logs ===========================
      waiting for frameLocator('[name="app-iframe"]').locator('.leaflet-layer')
      ============================================================
          at Object.openAndGetContentOfDocument (/var/www/owncloud/web/tests/e2e/support/objects/app-files/resource/actions.ts:404:68)
          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 an OpenDocument file with Collabora # tests/e2e/cucumber/features/app-provider/officeSuites.feature:15
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              │
      │ OpenDocument.odt │ OpenDocument │ OpenDocument Content │
No welcome modal found. Continue...
    ✖ failed
      locator.fill: Timeout 30000ms exceeded.
      =========================== logs ===========================
      waiting for frameLocator('[name="app-iframe"]').locator('#clipboard-area')
      ============================================================
          at createDocumentFile (/var/www/owncloud/web/tests/e2e/support/objects/app-files/resource/actions.ts:348:67)
          at async createNewFileOrFolder (/var/www/owncloud/web/tests/e2e/support/objects/app-files/resource/actions.ts:301:7)
          at async Object.createResources (/var/www/owncloud/web/tests/e2e/support/objects/app-files/resource/actions.ts:457:3)
          at async Resource.create (/var/www/owncloud/web/tests/e2e/support/objects/app-files/resource/index.ts:14:5)
          at async World.<anonymous> (/var/www/owncloud/web/tests/e2e/cucumber/steps/ui/resources.ts:26:7)
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 │
    ✖ failed
      locator.fill: Timeout 30000ms exceeded.
      =========================== logs ===========================
      waiting for frameLocator('[name="app-iframe"]').frameLocator('[name="frameEditor"]').locator('#area_id')
      ============================================================
          at createDocumentFile (/var/www/owncloud/web/tests/e2e/support/objects/app-files/resource/actions.ts:356:64)
          at async createNewFileOrFolder (/var/www/owncloud/web/tests/e2e/support/objects/app-files/resource/actions.ts:306:7)
          at async Object.createResources (/var/www/owncloud/web/tests/e2e/support/objects/app-files/resource/actions.ts:457:3)
          at async Resource.create (/var/www/owncloud/web/tests/e2e/support/objects/app-files/resource/index.ts:14:5)
          at async World.<anonymous> (/var/www/owncloud/web/tests/e2e/cucumber/steps/ui/resources.ts:26:7)
Scenario: open office suite files with Collabora and onlyOffice # tests/e2e/cucumber/features/app-provider/urlJourneys.feature:10
    Given "Admin" creates following users using API
      │ id    │
      │ Alice │
    And "Alice" logs in
    And "Alice" creates the following files into personal space using API
      │ pathToFile       │ content              │
      │ OpenDocument.odt │ OpenDocument Content │
    And "Alice" creates the following resources
      │ resource           │ type           │ content                │
      │ MicrosoftWord.docx │ Microsoft Word │ Microsoft Word Content │
    ✖ failed
      locator.fill: Timeout 30000ms exceeded.
      =========================== logs ===========================
      waiting for frameLocator('[name="app-iframe"]').frameLocator('[name="frameEditor"]').locator('#area_id')
      ============================================================
          at createDocumentFile (/var/www/owncloud/web/tests/e2e/support/objects/app-files/resource/actions.ts:356:64)
          at async createNewFileOrFolder (/var/www/owncloud/web/tests/e2e/support/objects/app-files/resource/actions.ts:306:7)
          at async Object.createResources (/var/www/owncloud/web/tests/e2e/support/objects/app-files/resource/actions.ts:457:3)
          at async Resource.create (/var/www/owncloud/web/tests/e2e/support/objects/app-files/resource/index.ts:14:5)
          at async World.<anonymous> (/var/www/owncloud/web/tests/e2e/cucumber/steps/ui/resources.ts:26:7)
@PrajwolAmatya PrajwolAmatya added Type:Bug Something isn't working QA:team and removed Type:Bug Something isn't working labels Apr 30, 2024
@PrajwolAmatya PrajwolAmatya self-assigned this Apr 30, 2024
@saw-jan
Copy link
Member

saw-jan commented Apr 30, 2024

Needs some extra configs
See: owncloud/ocis@bdbba92

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