diff --git a/test/gemini/screens/network/BasicExample/plain/PhantomJS.png b/test/gemini/screens/network/BasicExample/plain/PhantomJS.png new file mode 100644 index 00000000..7fc88d11 Binary files /dev/null and b/test/gemini/screens/network/BasicExample/plain/PhantomJS.png differ diff --git a/test/gemini/tests/network/BasicExample/index.html b/test/gemini/tests/network/BasicExample/index.html new file mode 100644 index 00000000..52bdc734 --- /dev/null +++ b/test/gemini/tests/network/BasicExample/index.html @@ -0,0 +1,44 @@ + + + + Network | BasicExample + + + + + +
+ + + diff --git a/test/gemini/tests/network/BasicExample/test.js b/test/gemini/tests/network/BasicExample/test.js new file mode 100644 index 00000000..9f670978 --- /dev/null +++ b/test/gemini/tests/network/BasicExample/test.js @@ -0,0 +1,8 @@ +gemini.suite('network/BasicExample', function(suite) { + suite.setUrl('/test/gemini/tests/network/BasicExample/') + .before(function(actions) { + actions.wait(1000); + }) + .setCaptureElements('#network') + .capture('plain'); +}); diff --git a/test/gemini/tests/timeline/BasicExample/test.js b/test/gemini/tests/timeline/BasicExample/test.js index 149b280a..dcf2415b 100644 --- a/test/gemini/tests/timeline/BasicExample/test.js +++ b/test/gemini/tests/timeline/BasicExample/test.js @@ -1,8 +1,8 @@ gemini.suite('timline/BasicExample', function(suite) { suite.setUrl('/test/gemini/tests/timeline/BasicExample/') .before(function(actions) { - actions.waitForElementToShow('.gemini-test-timeline', 5000); + actions.wait(1000); }) - .setCaptureElements('.gemini-test-timeline') + .setCaptureElements('#timeline') .capture('plain'); });