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

add basic API test for spaces #2500

Merged
merged 9 commits into from Oct 18, 2021
Merged

add basic API test for spaces #2500

merged 9 commits into from Oct 18, 2021

Conversation

micbar
Copy link
Contributor

@micbar micbar commented Sep 14, 2021

Description

Extend the ocis specific behat API test suite to be able to do basic Spaces API reguests

Related Issue

Motivation and Context

Get more API test coverage on new features

How Has This Been Tested?

  • 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 only (no source changes)

Checklist:

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

@update-docs
Copy link

update-docs bot commented Sep 14, 2021

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@ownclouders
Copy link
Contributor

💥 Acceptance tests localApiTests-apiAccountsHashDifficulty-ocis failed. The build is cancelled...

@ownclouders
Copy link
Contributor

💥 Acceptance tests localApiTests-apiAccountsHashDifficulty-ocis failed. The build is cancelled...

@ownclouders
Copy link
Contributor

💥 Acceptance tests localApiTests-apiAccountsHashDifficulty-ocis failed. The build is cancelled...

@micbar micbar force-pushed the api-tests-spaces branch 2 times, most recently from e37a2da to e272f5b Compare September 15, 2021 22:16
@ownclouders
Copy link
Contributor

💥 Acceptance tests localApiTests-apiAccountsHashDifficulty-ocis failed. The build is cancelled...

1 similar comment
@ownclouders
Copy link
Contributor

💥 Acceptance tests localApiTests-apiAccountsHashDifficulty-ocis failed. The build is cancelled...

@ownclouders
Copy link
Contributor

💥 Acceptance tests localApiTests-apiAccountsHashDifficulty-ocis failed. The build is cancelled...

@ownclouders
Copy link
Contributor

💥 Acceptance tests localApiTests-apiAccountsHashDifficulty-ocis failed. The build is cancelled...

@ownclouders
Copy link
Contributor

💥 Acceptance tests localApiTests-apiAccountsHashDifficulty-ocis failed. The build is cancelled...

@ownclouders
Copy link
Contributor

💥 Acceptance tests localApiTests-apiAccountsHashDifficulty-ocis failed. The build is cancelled...

@ownclouders
Copy link
Contributor

💥 Acceptance tests localApiTests-apiAccountsHashDifficulty-ocis failed. The build is cancelled...

@micbar micbar force-pushed the api-tests-spaces branch 2 times, most recently from 783d8e5 to 070443d Compare September 16, 2021 20:55
@phil-davis
Copy link
Contributor

phil-davis commented Sep 17, 2021

PR #2518 bumped the core commit id so that the API test code will now be running with the changes in core PR owncloud/core#39251

Copy link
Member

@refs refs left a comment

Choose a reason for hiding this comment

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

👍 Works for me, LGTM.

Running as:

make test-acceptance-api \
TEST_SERVER_URL=https://localhost:9200 \
TEST_OCIS=true \
SKELETON_DIR=/Users/aunger/code/owncloud/core/apps/testing/data/apiSkeleton \
BEHAT_FEATURE=tests/acceptance/features/apiSpaces/ListSpaces.feature \
PATH_TO_CORE=/Users/aunger/code/owncloud/core/ \
OCIS_SKELETON_STRATEGY=upload \
OCIS_REVA_DATA_ROOT='' \
BEHAT_FILTER_TAGS='~@skipOnOcis-OCIS-Storage'

@ownclouders
Copy link
Contributor

💥 Acceptance tests localApiTests-apiAccountsHashDifficulty-ocis failed. The build is cancelled...

@sonarcloud
Copy link

sonarcloud bot commented Oct 18, 2021

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

@micbar micbar merged commit c2c198c into master Oct 18, 2021
@delete-merged-branch delete-merged-branch bot deleted the api-tests-spaces branch October 18, 2021 14:55
ownclouders pushed a commit that referenced this pull request Oct 18, 2021
Merge: 6f7bb90 72cb487
Author: Michael Barz <mbarz@owncloud.com>
Date:   Mon Oct 18 16:55:34 2021 +0200

    Merge pull request #2500 from owncloud/api-tests-spaces

    add basic API test for spaces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants