mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
Merge pull request #392 from gristlabs/fix-language-test
ignore order of languages in test
This commit is contained in:
commit
8ca3f127e8
@ -116,7 +116,7 @@ describe("Localization", function() {
|
|||||||
await driver.navigate().refresh();
|
await driver.navigate().refresh();
|
||||||
assert.equal(await driver.findWait('.test-welcome-title', 3000).getText(), 'TestMessage');
|
assert.equal(await driver.findWait('.test-welcome-title', 3000).getText(), 'TestMessage');
|
||||||
const gristConfig: any = await driver.executeScript("return window.gristConfig");
|
const gristConfig: any = await driver.executeScript("return window.gristConfig");
|
||||||
assert.deepEqual(gristConfig.supportedLngs, [...existingLocales, 'pl']);
|
assert.sameDeepMembers(gristConfig.supportedLngs, [...existingLocales, 'pl']);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user