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