Browse Source

test: skip sso-client delete in reset if not super admin user

pull/7569/head
Pranav C 9 months ago
parent
commit
61062517df
  1. 2
      tests/playwright/setup/index.ts

2
tests/playwright/setup/index.ts

@ -210,7 +210,7 @@ async function localInit({
// console.log(process.env.TEST_WORKER_INDEX, process.env.TEST_PARALLEL_INDEX);
// delete sso-clients
if (isEE() && api['ssoClient']) {
if (isEE() && api['ssoClient'] && isSuperUser) {
const clients = await api.ssoClient.list();
for (const client of clients.list) {
try {

Loading…
Cancel
Save