Skip to content

flaky e2e tests in stable-4.0 #92

Description

@v-scharf

https://ci.opencloud.rocks/repos/3/pipeline/211/392
test-e2e-part-3

Feature: spaces.personal # tests/e2e/cucumber/features/spaces/project.feature:1

  Scenario: unstructured collection of testable space interactions, # tests/e2e/cucumber/features/spaces/project.feature:3
    Given "Admin" creates following users using API
      │ id    │
      │ Alice │
      │ Brian │
    And "Admin" assigns following roles to the users using API
      │ id    │ role        │
      │ Alice │ Space Admin │
    And "Alice" logs in
    When "Alice" opens the "files" app
    And "Alice" navigates to the projects space page
    And "Alice" creates the following project spaces
      │ name  │ id     │
      │ team  │ team.1 │
      │ team2 │ team.2 │
    And "Alice" navigates to the project space "team.1"
    And "Alice" updates the space "team.1" name to "developer team"
    And "Alice" updates the space "team.1" subtitle to "developer team - subtitle"
    And "Alice" updates the space "team.1" description to "developer team - description"
    ✖ failed
      page.waitForResponse: Timeout 30000ms exceeded while waiting for event "response"
          at waitForUpdate (/woodpecker/src/github.com/opencloud-eu/opencloud/webTestRunner/tests/e2e/support/objects/app-files/spaces/actions.ts:91:38)
          at Module.changeSpaceDescription (/woodpecker/src/github.com/opencloud-eu/opencloud/webTestRunner/tests/e2e/support/objects/app-files/spaces/actions.ts:94:24)
          at async Spaces.changeDescription (/woodpecker/src/github.com/opencloud-eu/opencloud/webTestRunner/tests/e2e/support/objects/app-files/spaces/index.ts:34:9)
          at async World.<anonymous> (/woodpecker/src/github.com/opencloud-eu/opencloud/webTestRunner/tests/e2e/cucumber/steps/ui/spaces.ts:39:13)
    And "Alice" updates the space "team.1" quota to "50"
    - skipped
    And "Alice" updates the space "team.1" image to "testavatar.png"
    - skipped
    And space image should match 16/9 ratio for user "Alice"
    - skipped
    And "Alice" deletes the space "team.1" image
    - skipped
    And "Alice" changes the space "team.1" icon to "😍"
    - skipped
    And "Alice" creates the following resources
      │ resource         │ type   │
      │ folderPublic     │ folder │
And "Alice" changes the space "team.2" image to "testavatar.png" using context menu
    ✖ failed
      page.waitForResponse: Timeout 30000ms exceeded while waiting for event "response"
          at Module.changeSpaceImage (/woodpecker/src/github.com/opencloud-eu/opencloud/webTestRunner/tests/e2e/support/objects/app-files/spaces/actions.ts:142:14)
          at async Spaces.changeSpaceImage (/woodpecker/src/github.com/opencloud-eu/opencloud/webTestRunner/tests/e2e/support/objects/app-files/spaces/index.ts:55:9)
          at async World.<anonymous> (/woodpecker/src/github.com/opencloud-eu/opencloud/webTestRunner/tests/e2e/cucumber/steps/ui/spaces.ts:74:13)
    And "Alice" deletes the space "team.2" image using context menu
    - skipped
    And "Alice" changes the sp
And "Alice" adds following users to the project space
      │ user  │ role     │ kind │
      │ Carol │ Can view │ user │
      │ Brian │ Can edit │ user │
    And "Alice" logs out
    When "Carol" logs in
    And "Carol" navigates to the project space "team.1"
    And "Carol" should not see the version panel for the file
      │ resource     │ to     │
      │ textfile.txt │ parent │
    ✖ failed
      locator.click: Timeout 30000ms exceeded.
      Call log:
        - waiting for locator('//button[\n  @data-test-context-menu-resource-name="textfile.txt" and\n  (contains(@class, "resource-tiles-btn-action-dropdown") or\n   contains(@class, "resource-table-btn-action-dropdown"))\n]')

          at openForResource (/woodpecker/src/github.com/opencloud-eu/opencloud/webTestRunner/tests/e2e/support/objects/app-files/utils/sidebar.ts:14:68)
          at Module.open (/woodpecker/src/github.com/opencloud-eu/opencloud/webTestRunner/tests/e2e/support/objects/app-files/utils/sidebar.ts:28:22)
          at async Module.checkThatFileVersionPanelIsNotAvailable (/woodpecker/src/github.com/opencloud-eu/opencloud/webTestRunner/tests/e2e/support/objects/app-files/resource/actions.ts:1272:5)
          at async Resource.checkThatFileVersionPanelIsNotAvailable (/woodpecker/src/github.com/opencloud-eu/opencloud/webTestRunner/tests/e2e/support/objects/app-files/resource/index.ts:205:9)
          at async World.<anonymous> (/woodpecker/src/github.com/opencloud-eu/opencloud/webTestRunner/tests/e2e/cucumber/steps/ui/resources.ts:486:9)
    And "Carol" logs out
    - skipped
And "Alice" creates a public link for the space with password "%public%" using the sidebar panel
    And "Alice" renames the most recently created public link of space to "spaceLink"
    And "Alice" creates a public link of following resource using the sidebar panel
      │ resource    │ password │
      │ spaceFolder │ %public% │
    And "Alice" renames the most recently created public link of resource "spaceFolder" to "folderLink"
    And "Alice" creates a public link of following resource using the sidebar panel
      │ resource                     │ password │
      │ spaceFolder/shareToBrian.txt │ %public% │
    ✖ failed
      locator.click: Timeout 30000ms exceeded.
      Call log:
        - waiting for locator('//button[\n  @data-test-context-menu-resource-name="shareToBrian.txt" and\n  (contains(@class, "resource-tiles-btn-action-dropdown") or\n   contains(@class, "resource-table-btn-action-dropdown"))\n]')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions