mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
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();
|
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 a new issue