mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-02-09 04:54:44 +00:00
Added test file
This commit is contained in:
parent
a03d2532d5
commit
9daa9ad3fe
22
test/javascripts/acceptance/discourse-adplugin-test.js.es6
Normal file
22
test/javascripts/acceptance/discourse-adplugin-test.js.es6
Normal 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
|
Loading…
x
Reference in New Issue
Block a user