Skip to content
Extraits de code Groupes Projets
Valider a118f7d4 rédigé par sgiehl's avatar sgiehl
Parcourir les fichiers

refs #7227 #7292 - updated UI test to check software page instead of old visitor settings

parent d9f89ad8
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -103,9 +103,9 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik? ...@@ -103,9 +103,9 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik?
}, done); }, done);
}); });
it('should load the visitors > settings page correctly', function (done) { it('should load the visitors > software page correctly', function (done) {
expect.screenshot("visitors_settings").to.be.captureSelector('.pageWrap,.expandDataTableFooterDrawer', function (page) { expect.screenshot("visitors_software").to.be.captureSelector('.pageWrap,.expandDataTableFooterDrawer', function (page) {
page.load("?" + urlBase + "#" + generalParams + "&module=UserSettings&action=index"); page.load("?" + urlBase + "#" + generalParams + "&module=DevicesDetection&action=software");
}, done); }, done);
}); });
...@@ -525,7 +525,7 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik? ...@@ -525,7 +525,7 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik?
page.load("?" + generalParams + "&module=Widgetize&action=index"); page.load("?" + generalParams + "&module=Widgetize&action=index");
page.mouseMove('.widgetpreview-categorylist>li:contains(Visits Summary)'); page.mouseMove('.widgetpreview-categorylist>li:contains(Visits Summary)');
page.mouseMove('li[uniqueid=widgetVisitsSummarygetEvolutionGraphcolumnsArray]'); page.mouseMove('li[uniqueid=widgetVisitsSummarygetEvolutionGraphcolumnsArray]');
}, done);top }, done);
}); });
it('should load the API listing page correctly', function (done) { it('should load the API listing page correctly', function (done) {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter