Skip to content

Commit 75fa88e

Browse files
authored
Added delay to Audit Log tests to reduce failure (#2245)
1 parent 2857b8c commit 75fa88e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

portal-ui/tests/operator/tenants.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ const checkLoggingToggle = async (tenantName: string) => {
264264
await t
265265
.click("#tenant_logging")
266266
.click("#confirm-ok")
267-
.wait(1000)
267+
.wait(3000)
268268
.expect(Selector("#image").exists)
269269
.notOk()
270270
.click("#yaml_button")
@@ -277,7 +277,7 @@ const checkLoggingToggle = async (tenantName: string) => {
277277
.click(Selector(`a[href$="/logging"]`))
278278
.click("#tenant_logging")
279279
.click("#confirm-ok")
280-
.wait(1000)
280+
.wait(3000)
281281
.expect(Selector("#image").exists)
282282
.ok()
283283
.click("#yaml_button")
@@ -291,6 +291,7 @@ const checkLoggingToggle = async (tenantName: string) => {
291291
const checkLoggingFieldsAcceptValues = async (tenantName: string) => {
292292
await goToLoggingSection(tenantName);
293293
await t
294+
.wait(3000)
294295
.typeText("#image", "minio/operator:v4.4.22", { replace: true })
295296
.typeText("#diskCapacityGB", "3", { replace: true })
296297
.typeText("#cpuRequest", "3", { replace: true })

0 commit comments

Comments
 (0)