frontend tests: retry should retry with the same padName, which was not true in case there was no padName supplied (#4206)
parent
1b6a9d8be0
commit
acfa1b6b4e
|
@ -112,13 +112,13 @@ var helper = {};
|
||||||
helper.clearSessionCookies();
|
helper.clearSessionCookies();
|
||||||
}
|
}
|
||||||
|
|
||||||
// needed for retry
|
|
||||||
let origPadName = padName;
|
|
||||||
|
|
||||||
if(!padName)
|
if(!padName)
|
||||||
padName = "FRONTEND_TEST_" + helper.randomString(20);
|
padName = "FRONTEND_TEST_" + helper.randomString(20);
|
||||||
$iframe = $("<iframe src='/p/" + padName + (encodedParams || '') + "'></iframe>");
|
$iframe = $("<iframe src='/p/" + padName + (encodedParams || '') + "'></iframe>");
|
||||||
|
|
||||||
|
// needed for retry
|
||||||
|
let origPadName = padName;
|
||||||
|
|
||||||
//clean up inner iframe references
|
//clean up inner iframe references
|
||||||
helper.padChrome$ = helper.padOuter$ = helper.padInner$ = null;
|
helper.padChrome$ = helper.padOuter$ = helper.padInner$ = null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue