You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 16, 2023. It is now read-only.
const Browser = require('zombie');
// We're going to make requests to http://example.com/signup
// Which will be routed to our test server localhost:3000
Browser.localhost('localhost', 52585);
describe('User visits signup page', function() {
const browser = new Browser();
before(function(done) {
browser.visit('/Account/Login.aspx?ReturnUrl=%2fterminal%2f', done);
});
describe('submits form', function() {
before(function(done) {
browser
.fill('#MainContent_LoginUser_UserName', '***')
.fill('#MainContent_LoginUser_Password', '***')
.pressButton('Anmelden', done);
});
it('should be successful', function() {
browser.assert.success();
});
it('should see welcome page', function() {
browser.assert.text('title', 'development.Terminal');
});
});
});
This code stay on the login page. How to log some http states if .pressButton is a submit button?
Do I need to take care of JavaScript errors while using zombie?
However ... In fact my avatar fits best to this repository 👍 😄
The text was updated successfully, but these errors were encountered:
I try to test a simple login scenario...
This code stay on the login page. How to log some http states if .
pressButton
is a submit button?Do I need to take care of JavaScript errors while using zombie?
However ... In fact my avatar fits best to this repository 👍 😄
The text was updated successfully, but these errors were encountered: