Skip to content
Extraits de code Groupes Projets
Valider 01e43b4b rédigé par diosmosis's avatar diosmosis
Parcourir les fichiers

Refs #8330, make sure this fix & #8321 bug are covered by UI tests.

parent b9454532
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -10,8 +10,16 @@ ...@@ -10,8 +10,16 @@
describe("BarGraph", function () { describe("BarGraph", function () {
this.timeout(0); this.timeout(0);
var url = "?module=Widgetize&action=iframe&moduleToWidgetize=Referrers&idSite=1&period=year&date=2012-08-09&" var tokenAuth = "9ad1de7f8b329ab919d854c556f860c1", // md5('superUserLogin' . md5('superUserPass'))
+ "actionToWidgetize=getKeywords&viewDataTable=graphVerticalBar&isFooterExpandedInDashboard=1"; url = "?module=Widgetize&action=iframe&moduleToWidgetize=Referrers&idSite=1&period=year&date=2012-08-09&"
+ "actionToWidgetize=getKeywords&viewDataTable=graphVerticalBar&isFooterExpandedInDashboard=1&"
+ "token_auth=" + tokenAuth;
before(function () {
// use real auth + token auth to test that auth works when widgetizing reports in an iframe
testEnvironment.testUseMockAuth = 0;
testEnvironment.save();
});
it("should load correctly", function (done) { it("should load correctly", function (done) {
expect.screenshot("load").to.be.capture(function (page) { expect.screenshot("load").to.be.capture(function (page) {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter