1 | module.exports = {
|
2 | loginFailed: (html) => {
|
3 | return (html.indexOf('The password you entered was incorrect') > -1 || html.indexOf('Der Benutzername ist unbekannt') > -1);
|
4 | },
|
5 | usernameUnknown: (html) => {
|
6 | return (html.indexOf('The username you entered cannot be identified') > -1 || html.indexOf('Das Passwort ist falsch') > -1);
|
7 | },
|
8 | isStale: html => {
|
9 | return html.indexOf('Stale Request') > -1;
|
10 | }
|
11 | };
|