diff --git a/test/javascripts/acceptance/discourse-adplugin-test.js.es6 b/test/javascripts/acceptance/discourse-adplugin-test.js.es6 new file mode 100644 index 0000000..d55ccb4 --- /dev/null +++ b/test/javascripts/acceptance/discourse-adplugin-test.js.es6 @@ -0,0 +1,22 @@ +import { acceptance } from "helpers/qunit-helpers"; +acceptance("Discourse Ad Plugin", { loggedIn: true }); + +test("DFP and Adsense Button Appears on Site Settings", () => { + visit("/admin/site_settings/category/adsense_plugin"); + + andThen(() => { + fillIn('#login-account-name', 'eviltrout'); + // ok(!exists('.tentacle'), "the tentacle is not shown yet"); + // }); + + // click('#show-tentacle'); + + // andThen(() => { + // ok(exists('.tentacle'), "the tentacle wants to rule the world!"); + // }); +}); + + +// Test if dfp and adsense button appear on site settings +// Test if AAdsense ad loads +// Test if DFP ad loads \ No newline at end of file