{ this.fill('form#login-form', { 'username': 'cdl', 'password': 'foobar' }, true); }); ! casper.then(function() { // Test: make sure <a> with class "greeting" has "Hello, Colby!" in it. // (a way to make sure the user logged in successfully.) test.assertSelectorHasText('a.greeting', 'Hello, Colby!'); }); ! casper.run(function() { test.done(); }); }); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
{ this.fill('form#login-form', { 'username': 'cdl', 'password': 'foobar' }, true); }); ! casper.then(function() { // Test: make sure <a> with class "greeting" has "Hello, Colby!" in it. // (a way to make sure the user logged in successfully.) test.assertSelectorHasText('a.greeting', 'Hello, Colby!'); }); ! casper.run(function() { test.done(); }); }); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
{ this.fill('form#login-form', { 'username': 'cdl', 'password': 'foobar' }, true); }); ! casper.then(function() { // Test: make sure <a> with class "greeting" has "Hello, Colby!" in it. // (a way to make sure the user logged in successfully.) test.assertSelectorHasText('a.greeting', 'Hello, Colby!'); }); ! casper.run(function() { test.done(); }); }); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
{ this.fill('form#login-form', { 'username': 'cdl', 'password': 'foobar' }, true); }); ! casper.then(function() { // Test: make sure <a> with class "greeting" has "Hello, Colby!" in it. // (a way to make sure the user logged in successfully.) test.assertSelectorHasText('a.greeting', 'Hello, Colby!'); }); ! casper.run(function() { test.done(); }); }); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
{ this.fill('form#login-form', { 'username': 'cdl', 'password': 'foobar' }, true); }); ! casper.then(function() { // Test: make sure <a> with class "greeting" has "Hello, Colby!" in it. // (a way to make sure the user logged in successfully.) test.assertSelectorHasText('a.greeting', 'Hello, Colby!'); }); ! casper.run(function() { test.done(); }); }); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
{ this.fill('form#login-form', { 'username': 'cdl', 'password': 'foobar' }, true); }); ! casper.then(function() { // Test: make sure <a> with class "greeting" has "Hello, Colby!" in it. // (a way to make sure the user logged in successfully.) test.assertSelectorHasText('a.greeting', 'Hello, Colby!'); }); ! casper.run(function() { test.done(); }); }); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Dribbble account, but you spread it over 7 full screens and make me click some bobbing button to show me how cool the jQuery ScrollTo plugin is. Funny, but true. (but that's a whole other talk.)
listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Thanks for listening. Any questions?