Skip to content
Snippets Groups Projects
Unverified Commit 05172c86 authored by Paul Kaplan's avatar Paul Kaplan Committed by GitHub
Browse files

Merge pull request #4483 from paulkaplan/hotfix/fix-tests

[develop] Hotfix/fix tests
parents 361187dc 4ae40006
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,9 @@ describe('Localization', () => { ...@@ -49,6 +49,9 @@ describe('Localization', () => {
// After switching languages, make sure Apple sprite still exists // After switching languages, make sure Apple sprite still exists
await rightClickText('Apple', scope.spriteTile); // Make sure it is there await rightClickText('Apple', scope.spriteTile); // Make sure it is there
// Remounting re-attaches the beforeunload callback. Make sure to remove it
driver.executeScript('window.onbeforeunload = undefined;');
const logs = await getLogs(); const logs = await getLogs();
await expect(logs).toEqual([]); await expect(logs).toEqual([]);
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment