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.

Stop support for old acceptance tests #10259

Closed

Description

@v-scharf

2 years ago, we stopped implement old acceptance tests and started using e2e with playwright.
Now we want to:

  • delete all unworkable, repetitive, irrelevant tests
  • rewrite useful tests
  • close all issues related acceptance tests

Steps:

Activity

  1. v-scharf commented on Jan 4, 2024

    @v-scharf
    ContributorAuthor
  2. self-assigned this
    on Feb 6, 2024
  3. amrita-shrestha commented on Mar 4, 2024

    @amrita-shrestha
    Contributor

    cc @PrajwolAmatya @Salipa-Gurung @saw-jan currently facing problems while running keycloak tests in drone ci. IMO it will be nice to check locally whether keycloak-related tests pass or not #10481. Otherwise, my PR will be stuck for a long time.

  4. v-scharf commented on Mar 4, 2024

    @v-scharf
    ContributorAuthor

    cc @PrajwolAmatya @Salipa-Gurung @saw-jan currently facing problems while running keycloak tests in drone ci. IMO it will be nice to check locally whether keycloak-related tests pass or not #10481. Otherwise, my PR will be stuck for a long time.

    Sorry, how this task is related to #10481 ?

  5. saw-jan commented on Mar 5, 2024

    @saw-jan
    Member

    cc @PrajwolAmatya @Salipa-Gurung @saw-jan currently facing problems while running keycloak tests in drone ci. IMO it will be nice to check locally whether keycloak-related tests pass or not #10481. Otherwise, my PR will be stuck for a long time.

    Let's run /journeys/kindergarten.feature with the keycloak for now, then we can go on to include more tests.
    CC @amrita-shrestha @ScharfViktor

  6. amrita-shrestha commented on Mar 6, 2024

    @amrita-shrestha
    Contributor

    cc @PrajwolAmatya @Salipa-Gurung @saw-jan currently facing problems while running keycloak tests in drone ci. IMO it will be nice to check locally whether keycloak-related tests pass or not #10481. Otherwise, my PR will be stuck for a long time.

    Sorry, how this task is related to #10481 ?

    If we add some scenario/step on space.feature and journey then maybe that step needs refactoring to work on ocis-keycloak. I am not saying to check all scenario/step. Just step/scenario which falls under keycloak tests(currently journey/space.feature).

  7. PrajwolAmatya commented on Mar 19, 2024

    @PrajwolAmatya
    Contributor

    I have listed the tests that has been already covered in E2E and tests that needs to be added in E2E.

    Tests that has been covered

    • create files/folders
    • upload files
    • delete files/folders
    • copy/move files/folders
    • openid login
    • download resources
    • sharing to user and group
    • public link share
    • public link share with different roles
    • trashbin delete/restore

    E2E tests that needs to be added

    - Files details
    - view different areas in app-sidebar for file and folder
    - [ ] Preview
    - [ ] preview different files (.png file) @Salipa-Gurung (#10670)
    - [x] pubilc user preview files: #10565

    - sorting resources
    - share autocompletion of recipient user/group
    - check for sharing details of items inside a shared folder
    - check for sharing indicator
    - check for public link indicator
    - [ ] edit password of public link and public user refresh the public link page
    - [ ] update content of file

    CC. @ScharfViktor @saw-jan

    Updated according to comment: #10259 (comment)

    Note:- All TODOs tasks have been added to the main description of this issue.

  8. saw-jan commented on Mar 19, 2024

    @saw-jan
    Member

    pubilc user preview files: #10565

    the PR is just a port. we already have the tests in master

  9. kulmann commented on Mar 20, 2024

    @kulmann
    Contributor

    E2E tests that needs to be added

    I'd like to continue to only have happy path tests in e2e. That being said, some of the test scenarios you mentioned are not needed for e2e and I'd like to not have them anymore.

    • breadcrumb
      • breadcrumb navigation on normal folders

    Yes, good one.

    • breadbrumb navigation on folders with quotes and special characters

    Not needed.

    • Files details
      • view different areas in app-sidebar for file and folder

    What exactly do you have in mind? I'd expect this mostly to be tested via unit tests. Some e2e test coverage makes sense of course, but please be more specific in what you want to test.

    • Preview
      • preview different files

    One .png file is sufficient.

    Yes 👍

    Sorting resources is not something I would test at all in e2e. Only in unit tests.

    • share autocompletion of recipient user/group

    I believe we have that somewhat covered in sharing related tests. no additional test needed.

    • check for sharing details of items inside a shared folder

    sufficient as a unit test, no e2e needed.

    • check for sharing indicator

    sufficient as a unit test, no e2e needed.

    • check for public link indicator

    sufficient as a unit test, no e2e needed.

    • edit password of public link and public user refresh the public link page

    Yes, good one.

    • update content of file

    Yes, good one.

  10. PrajwolAmatya commented on Mar 21, 2024

    @PrajwolAmatya
    Contributor

    @kulmann Thank you for the suggestion. 👍 I will update the E2E test list and work accordingly.

  11. kulmann commented on Mar 21, 2024

    @kulmann
    Contributor
    • breadcrumb

      • breadcrumb navigation on normal folders

    Yes, good one.

    • breadbrumb navigation on folders with quotes and special characters

    Not needed.

    I'd like to come back to this one again. I'd love to have a "navigation"-scenario in the e2e tests:

    • create a folder hierarchy, with a variety of folder names (also some including quotes and special characters, like you proposed for breadcrumbs)
    • navigate up and down the folder hierarchy by clicking on folder names in the file list for going down and on breadcrumb items for going up

    That would bring certainty especially for representation and handling of weird chars in the URL.

    Do we have something like this? Or something that could be extended into this behaviour? I don't want all these cases tested individually (file list with simple folder names, file list with complex folder names, breadcrumb with simple folder names, breadcrumb with complex folder names), but really in one scenario.

    I know that the common pattern for acceptance tests is to write short scenarios. For our e2e test suite I see much more value in chains of actions and test patterns that semantically belong together, so that the test setup time doesn't kill us.

    What do you think @PrajwolAmatya ?

  12. PrajwolAmatya commented on Mar 21, 2024

    @PrajwolAmatya
    Contributor

    @kulmann Yes, I think we can check for navigation through breadcrumb for variety of folder names within a single scenario.

  13. removed their assignment
    on Apr 2, 2024
  14. amrita-shrestha commented on Apr 9, 2024

    @amrita-shrestha
    Contributor

    @saw-jan @Salipa-Gurung @PrajwolAmatya can we close this issue #7264 or we going to let it open?

  15. removed their assignment
    on Apr 23, 2024
  16. self-assigned this
    on Apr 30, 2024
  17. saw-jan commented on May 17, 2024

    @saw-jan
    Member

    @ScharfViktor Let's close this one.
    The only thing remaining is to cleanup in ocis drone config but that should be done along with the web bump to ocis

  18. v-scharf commented on May 17, 2024

    @v-scharf
    ContributorAuthor

    @ScharfViktor Let's close this one. The only thing remaining is to cleanup in ocis drone config but that should be done along with the web bump to ocis

    Yes, I close it, but before I wanted to clean up ocis CI

  19. v-scharf commented on May 19, 2024

    @v-scharf
    ContributorAuthor

    closed as completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions