E2E-Tests für login-web
mit testcafe
Failt leider rum…
login-web
mit testcafeFailt leider rum…
{ | |
"name": "login-web-tests", | |
"version": "0.0.1", | |
"scripts": { | |
"start": "testcafe chrome ./test-*.js" | |
}, | |
"dependencies": { | |
"testcafe": "^0.9.0" | |
} | |
} |
fixture `Login` | |
.page `https://login.dev.sipgate.com/`; | |
const credentials = { | |
email: "goBehaviourTestsNichtLoeschen+Jvarpu@sipgate.de", | |
masterSipId: "2420529", | |
password: "12345678" | |
}; | |
test('Log in to basic', async t => { | |
await t | |
.wait(5000) | |
.typeText('input[name="username"]', credentials.masterSipId) | |
.typeText('input[name="password"]', credentials.password) | |
.click('button[type="submit"]') | |
.wait(60000) | |
}); |