-
Notifications
You must be signed in to change notification settings - Fork 184
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
[full-ci] Switch UI tests to graphApi #3594
Conversation
ScharfViktor
commented
Apr 27, 2022
- I want to see how UI tests will work in the CI after the change methods in middleware (Creating a user via graph Api owncloud-test-middleware#107)
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. |
💥 Acceptance test Web-Tests-ocis-smoke-ocis-storage-2 failed. Further test are cancelled... |
💥 Acceptance test Web-Tests-ocis-smoke-ocis-storage-2 failed. Further test are cancelled... |
change middleware tag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
group sharing seems not to work, I think the creation of groups was not implemented in the middleware yet with GraphAPI?
Yes, that was my mistake. Previosly I ran CI without [full-ci] so I didn't see all cases. It will be fixed |
@@ -698,7 +698,7 @@ def uiTestPipeline(ctx, filterTags, early_fail, runPart = 1, numberOfParts = 1, | |||
"arch": "amd64", | |||
}, | |||
"steps": skipIfUnchanged(ctx, "acceptance-tests") + restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin/ocis") + | |||
ocisServerWithAccounts(storage, accounts_hash_difficulty, [stepVolumeOC10Tests]) + waitForSeleniumService() + waitForMiddlewareService() + [ | |||
ocisServer(storage, accounts_hash_difficulty, [stepVolumeOC10Tests]) + waitForSeleniumService() + waitForMiddlewareService() + [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since ocisServerWithAccounts
isn't being used anywhere else anymore I think you can also delete the function from the CI file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, this can go a away. But IMO it's also fine to do this in a separate PR (if CI succeeds now)
Kudos, SonarCloud Quality Gate passed! |
Author: Viktor Scharf <scharf.vi@gmail.com> Date: Fri Apr 29 17:52:42 2022 +0200 [full-ci] Switch UI tests to graphApi (#3594) * use ocis server in UI test and use middleware with changings * back to default middleware * Update .drone.star change middleware tag * run tests with my middleware image * use web commitId * change middleware version and web commit * back to webcommitID and add failed test to expected failures
Author: Viktor Scharf <scharf.vi@gmail.com> Date: Fri Apr 29 17:52:42 2022 +0200 [full-ci] Switch UI tests to graphApi (#3594) * use ocis server in UI test and use middleware with changings * back to default middleware * Update .drone.star change middleware tag * run tests with my middleware image * use web commitId * change middleware version and web commit * back to webcommitID and add failed test to expected failures
Author: Viktor Scharf <scharf.vi@gmail.com> Date: Fri Apr 29 17:52:42 2022 +0200 [full-ci] Switch UI tests to graphApi (#3594) * use ocis server in UI test and use middleware with changings * back to default middleware * Update .drone.star change middleware tag * run tests with my middleware image * use web commitId * change middleware version and web commit * back to webcommitID and add failed test to expected failures