aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests.js b/tests.js
index 3518aa0..1b2ae4c 100644
--- a/tests.js
+++ b/tests.js
@@ -1762,6 +1762,37 @@ page.open(url, function(status) {
1762}); 1762});
1763}, 1763},
1764 1764
1765// If you wish to add more tests, do so here...
1766
1767// Here is a blank test template
1768/*
1769
1770function() {
1771page.open(url, function(status) {
1772 // Do something on the page
1773 page.evaluate(function() {
1774 $(".phrase").val("abandon abandon ability").trigger("input");
1775 });
1776 waitForGenerate(function() {
1777 // Check the result of doing the thing
1778 var expected = "1Di3Vp7tBWtyQaDABLAjfWtF6V7hYKJtug";
1779 var actual = page.evaluate(function() {
1780 return $(".address:first").text();
1781 });
1782 if (actual != expected) {
1783 console.log("A specific message about what failed");
1784 console.log("Expected: " + expected);
1785 console.log("Actual: " + actual);
1786 fail();
1787 }
1788 // Run the next test
1789 next();
1790 });
1791});
1792},
1793
1794*/
1795
1765]; 1796];
1766 1797
1767console.log("Running tests..."); 1798console.log("Running tests...");