diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-01-08 02:53:45 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-01-08 02:53:45 +0300 |
commit | 3ec6683abb7d7aae72755967c625bcdd65d0941c (patch) | |
tree | fc20baef899b3bcc843de380cffde90fd82a0c04 /plugins/Ecommerce | |
parent | 5492a857f0456dfd6e5e88edb8ea8811486a3864 (diff) |
removed the tests from Ecommerce plugin otherwise we have the screenshots in this plugin (in core) etc
Diffstat (limited to 'plugins/Ecommerce')
-rw-r--r-- | plugins/Ecommerce/tests/UI/Ecommerce_spec.js | 58 | ||||
-rw-r--r-- | plugins/Ecommerce/tests/UI/expected-ui-screenshots/Ecommerce_ecommerce_log.png | bin | 238152 -> 0 bytes | |||
-rw-r--r-- | plugins/Ecommerce/tests/UI/expected-ui-screenshots/Ecommerce_ecommerce_overview.png | bin | 46609 -> 0 bytes | |||
-rw-r--r-- | plugins/Ecommerce/tests/UI/expected-ui-screenshots/Ecommerce_ecommerce_sales.png | bin | 61618 -> 0 bytes |
4 files changed, 0 insertions, 58 deletions
diff --git a/plugins/Ecommerce/tests/UI/Ecommerce_spec.js b/plugins/Ecommerce/tests/UI/Ecommerce_spec.js deleted file mode 100644 index 1896167f13..0000000000 --- a/plugins/Ecommerce/tests/UI/Ecommerce_spec.js +++ /dev/null @@ -1,58 +0,0 @@ -/*! - * Piwik - free/libre analytics platform - * - * Screenshot integration tests. - * - * @link http://piwik.org - * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later - */ - -describe("Ecommerce", function () { - this.timeout(0); - - var generalParams = 'idSite=1&period=year&date=2012-08-09', - urlBase = 'module=CoreHome&action=index&' + generalParams; - - before(function (done) { - testEnvironment.queryParamOverride = { - forceNowValue: testEnvironment.forcedNowTimestamp, - visitorId: testEnvironment.forcedIdVisitor, - realtimeWindow: 'false' - }; - testEnvironment.save(); - - testEnvironment.callApi("SitesManager.setSiteAliasUrls", {idSite: 3, urls: []}, done); - }); - - beforeEach(function () { - delete testEnvironment.configOverride; - testEnvironment.testUseRegularAuth = 0; - testEnvironment.save(); - }); - - after(function () { - delete testEnvironment.queryParamOverride; - testEnvironment.testUseRegularAuth = 0; - testEnvironment.save(); - }); - - // goals pages - it('should load ecommerce overview', function (done) { - expect.screenshot('ecommerce_overview').to.be.captureSelector('.pageWrap,.expandDataTableFooterDrawer', function (page) { - page.load("?" + urlBase + "#" + generalParams + "&module=Ecommerce&action=ecommerceReport&idGoal=ecommerceOrder"); - }, done); - }); - - it('should load ecommerce log', function (done) { - expect.screenshot('ecommerce_log').to.be.captureSelector('.pageWrap,.expandDataTableFooterDrawer', function (page) { - page.load( "?" + urlBase + "#" + generalParams + "&module=Ecommerce&action=getEcommerceLog"); - }, done); - }); - - it('should load ecommerce products', function (done) { - expect.screenshot('ecommerce_sales').to.be.captureSelector('.pageWrap,.expandDataTableFooterDrawer', function (page) { - page.load("?" + urlBase + "#" + generalParams + "&module=Ecommerce&action=sales&idGoal=ecommerceOrder"); - }, done); - }); - -});
\ No newline at end of file diff --git a/plugins/Ecommerce/tests/UI/expected-ui-screenshots/Ecommerce_ecommerce_log.png b/plugins/Ecommerce/tests/UI/expected-ui-screenshots/Ecommerce_ecommerce_log.png Binary files differdeleted file mode 100644 index da272f8696..0000000000 --- a/plugins/Ecommerce/tests/UI/expected-ui-screenshots/Ecommerce_ecommerce_log.png +++ /dev/null diff --git a/plugins/Ecommerce/tests/UI/expected-ui-screenshots/Ecommerce_ecommerce_overview.png b/plugins/Ecommerce/tests/UI/expected-ui-screenshots/Ecommerce_ecommerce_overview.png Binary files differdeleted file mode 100644 index 1aee535ec7..0000000000 --- a/plugins/Ecommerce/tests/UI/expected-ui-screenshots/Ecommerce_ecommerce_overview.png +++ /dev/null diff --git a/plugins/Ecommerce/tests/UI/expected-ui-screenshots/Ecommerce_ecommerce_sales.png b/plugins/Ecommerce/tests/UI/expected-ui-screenshots/Ecommerce_ecommerce_sales.png Binary files differdeleted file mode 100644 index 95f908e13c..0000000000 --- a/plugins/Ecommerce/tests/UI/expected-ui-screenshots/Ecommerce_ecommerce_sales.png +++ /dev/null |