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

[tests-only]Add tests for pagination in personal space #9008

Merged
merged 6 commits into from
May 15, 2023

Conversation

SwikritiT
Copy link
Contributor

@SwikritiT SwikritiT commented May 10, 2023

Description

This PR adds test to check the pagination in personal space page

Related Issue

Motivation and Context

How Has This Been Tested?

  • locally
  • CI

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • e2e tests added
  • Documentation ticket raised:

Open tasks:

  • ...

@SwikritiT SwikritiT self-assigned this May 11, 2023
@SwikritiT SwikritiT force-pushed the tests/e2e-test-pagination-files branch from 880d480 to 39466cd Compare May 11, 2023 10:32
@ownclouders
Copy link
Contributor

ownclouders commented May 11, 2023

Results for e2e-tests oC10 https://drone.owncloud.com/owncloud/web/35625/11/1
💥 The e2e-oc10 tests pipeline failed. The build has been cancelled.

@SwikritiT SwikritiT force-pushed the tests/e2e-test-pagination-files branch from adcc63a to 80b0b9b Compare May 12, 2023 03:21
@SwikritiT SwikritiT changed the title [tests-only]Add tests for pagination [tests-only]Add tests for pagination in personal space May 12, 2023
Comment on lines -31 to -32
# Remove when https://github.com/owncloud/core/pull/40024 is merged and released
php occ config:system:set cors.allowed-headers --type json --value '["cache-control"]'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The mentioned PR has been merged so can be removed

@@ -22,12 +22,11 @@ else
then
php occ config:system:set web.baseUrl --value="http://owncloud/index.php/apps/web"
php occ config:system:set enable_previews --type=boolean --value=false
php occ config:system:set skeletondirectory --value=''
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't set the skeleton folder in the core so that the same test can be run for both core and ocis

@SwikritiT SwikritiT force-pushed the tests/e2e-test-pagination-files branch from c7d02d8 to ddfdfd2 Compare May 12, 2023 03:28
@SwikritiT SwikritiT marked this pull request as ready for review May 12, 2023 04:21
tests/e2e/support/objects/app-files/resource/index.ts Outdated Show resolved Hide resolved
tests/e2e/support/objects/app-files/resource/index.ts Outdated Show resolved Hide resolved
tests/e2e/cucumber/steps/api.ts Outdated Show resolved Hide resolved
tests/e2e/cucumber/steps/api.ts Outdated Show resolved Hide resolved
@SwikritiT SwikritiT force-pushed the tests/e2e-test-pagination-files branch from 9289a25 to 2c6984d Compare May 15, 2023 04:58
@SwikritiT SwikritiT requested a review from SagarGi May 15, 2023 04:59
@SwikritiT SwikritiT force-pushed the tests/e2e-test-pagination-files branch from 7e2a9fd to 2a91c47 Compare May 15, 2023 07:13
@SwikritiT SwikritiT requested a review from saw-jan May 15, 2023 07:14
Copy link
Member

@saw-jan saw-jan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@SwikritiT SwikritiT merged commit b5d75e9 into master May 15, 2023
@delete-merged-branch delete-merged-branch bot deleted the tests/e2e-test-pagination-files branch May 15, 2023 09:03
lookacat pushed a commit that referenced this pull request May 17, 2023
* Add tests for pagination presonal space

* set skeleton to emply for tests

* remove the reduntant config

* add logout step

* address reviews

* address reviews
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 this pull request may close these issues.

5 participants