blob: 1e247fca56ec5664eaf7781dddbec0015013a1ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*!
* 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("CustomVariables", function () {
this.timeout(0);
this.fixture = "Piwik\\Plugins\\CustomVariables\\tests\\Fixtures\\VisitWithManyCustomVariables";
it('should show an overview of all used custom variables', function (done) {
expect.screenshot('manage').to.be.captureSelector('.pageWrap', function (page) {
page.load("?idSite=1&period=day&date=2010-01-03&module=CustomVariables&action=manage");
}, done);
});
it('should be visible in the menu', function (done) {
expect.screenshot('link_in_menu').to.be.captureSelector('li:contains(Manage)', function (page) {
}, done);
});
});
|