Commit b77648b2 b77648b20e2e832c426b824a6b8cafa163f81b57 by Victor Yap

Added the aliases for Tester.assertExists() to the selftest

1 parent 8c798c7a
...@@ -58,6 +58,15 @@ casper.then(function() { ...@@ -58,6 +58,15 @@ casper.then(function() {
58 t.comment('Tester.assertExists()'); 58 t.comment('Tester.assertExists()');
59 t.assertExists('body', 'Tester.assertExists() works as expected'); 59 t.assertExists('body', 'Tester.assertExists() works as expected');
60 60
61 t.comment('Tester.assertExist()');
62 t.assertExist('body', 'Tester.assertExist() [alias of assertExists()] works as expected');
63
64 t.comment('Tester.assertSelectorExists()');
65 t.assertSelectorExists('body', 'Tester.assertSelectorExists() [alias of assertExists()] works as expected');
66
67 t.comment('Tester.assertSelectorExists()');
68 t.assertSelectorExist('body', 'Tester.assertSelectorExist() [alias of assertExists()] works as expected');
69
61 t.comment('Tester.assertDoesntExist()'); 70 t.comment('Tester.assertDoesntExist()');
62 t.assertDoesntExist('foobar', 'Tester.assertDoesntExist() works as expected'); 71 t.assertDoesntExist('foobar', 'Tester.assertDoesntExist() works as expected');
63 72
......