Stabilise sliding sync playwright test (#28879)
* Stabilise sliding sync playwright test There's no guarantee that the unsubscription & subscription occur in the same request given the add/remove APIs are async Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Stabilise more sliding sync tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
committed by
GitHub
parent
6846679d34
commit
5caad70191
@@ -167,6 +167,7 @@ export const test = base.extend<Fixtures>({
|
||||
window.localStorage.setItem(
|
||||
"mx_local_settings",
|
||||
JSON.stringify({
|
||||
// Retain any other settings which may have already been set
|
||||
...JSON.parse(window.localStorage.getItem("mx_local_settings") || "{}"),
|
||||
// Ensure the language is set to a consistent value
|
||||
language: "en",
|
||||
|
||||
Reference in New Issue
Block a user