Merge branch 'acceptance-tests'

This commit is contained in:
vi 2015-09-08 13:39:33 +10:00
commit 8f5c8db352
1 changed files with 22 additions and 0 deletions

View File

@ -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