test: add ThingTranslateService to app testbed

This commit is contained in:
Rainer Killinger
2021-02-23 13:03:51 +01:00
parent e9978a2d93
commit 82bad1d3f2
4 changed files with 13 additions and 4 deletions

View File

@@ -11,7 +11,12 @@ exports.config = {
capabilities: {
browserName: 'chrome',
chromeOptions: {
args: ['--no-sandbox', "--headless", "--disable-gpu", "--window-size=800x600"]
args: ['--no-sandbox', '--headless', '--disable-gpu', '--window-size=800,600', '--lang=de-DE'],
prefs: {
intl: {
'accept_languages': 'de-DE'
}
},
}
},
directConnect: false,

View File

@@ -26,8 +26,8 @@ describe('Settings', () => {
page.navigateTo('#/settings');
});
it('should have a title saying Settings', () => {
expect(page.getPageTitle()).toBe('Settings');
it('should have a localized title saying "Einstellungen"', () => {
expect(page.getPageTitle()).toBe('Einstellungen');
});
});
});