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][full-ci]change expected status code #9934

Merged
merged 3 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .drone.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# The version of OCIS to use in pipelines that test against OCIS
OCIS_COMMITID=71b596e9473e479f08526242784a597dc9cfb58b
OCIS_COMMITID=a4e7a64cd066d40a6320ddc00eb70ed800dd59b0
OCIS_BRANCH=master
2 changes: 1 addition & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ OC_CI_HUGO = "owncloudci/hugo:0.115.2"
OC_CI_NODEJS = "owncloudci/nodejs:18"
OC_CI_PHP = "owncloudci/php:7.4"
OC_CI_WAIT_FOR = "owncloudci/wait-for:latest"
OC_TESTING_MIDDLEWARE = "owncloud/owncloud-test-middleware:1.8.5"
OC_TESTING_MIDDLEWARE = "owncloud/owncloud-test-middleware:1.8.7"
OC_UBUNTU = "owncloud/ubuntu:20.04"
PLUGINS_DOCKER = "plugins/docker:20.14"
PLUGINS_GH_PAGES = "plugins/gh-pages:1"
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/support/objects/account/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const requestGdprExport = async (args: { page: Page }): Promise<void> =>
page.waitForResponse(
(resp) =>
resp.url().endsWith('exportPersonalData') &&
resp.status() === 201 &&
resp.status() === 202 &&
resp.request().method() === 'POST'
),
// not waiting for the generation report
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const createGroup = async (args: { page: Page; key: string }): Promise<Re
const [response] = await Promise.all([
page.waitForResponse(
(resp) =>
resp.url().endsWith('groups') && resp.status() === 200 && resp.request().method() === 'POST'
resp.url().endsWith('groups') && resp.status() === 201 && resp.request().method() === 'POST'
),
page.locator(actionConfirmButton).click()
])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const createUser = async (args: {
const [response] = await Promise.all([
page.waitForResponse(
(resp) =>
resp.url().endsWith('users') && resp.status() === 200 && resp.request().method() === 'POST'
resp.url().endsWith('users') && resp.status() === 201 && resp.request().method() === 'POST'
),
page.locator(actionConfirmButton).click()
])
Expand Down