nextcloud / nextcloud/collectives

Investigate behat pageTags failure

Open
#2,614 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
195
Forks
51
Avg merge
1d 2h
Merged PRs (30d)
48

Description

Describe the bug
This test failed repeatedly.

https://github.com/nextcloud/collectives/actions/runs/28403254873/job/84159578003?pr=2549
https://github.com/nextcloud/collectives/actions/runs/28423702692/job/84221945920?pr=2612

  Scenario: Delete tag                                                                                   # /home/runner/actions-runner/_work/collectives/collectives/apps/collectives/tests/Integration/features/publicTags.feature:58
    When user "jane" sets editing permissions for collective share "BehatTagsPublicCollective"           # FeatureContext::userSetsPublicShareEditPermissions()
    And anonymous deletes tag "test1" for collective "BehatTagsPublicCollective" with owner "jane"       # FeatureContext::anonymousDeletesTag()
      Unable to get list of tags for collective 16 (RuntimeException)
    Then anonymous fails to see tag "test1" for collective "BehatTagsPublicCollective" with owner "jane" # FeatureContext::anonymousSeesTag()

nextcloud.log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with tests/Integration/features/publicTags.feature at the Delete tag scenario around line 58, then inspect FeatureContext::anonymousDeletesTag() and the linked CI logs. Reproduce the failure in the Behat integration test and identify why retrieving tags fails for the anonymous user. Done means the scenario passes reliably in CI.

Written by the indexing model from the issue text.

Assessment

Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.