blob: b2b6893784cc2de42b72972af3c9045d8feaa5e2 (
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
|
/*!
* Matomo - free/libre analytics platform
*
* login & password reset screenshot tests.
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
describe('Decline', function () {
this.timeout(0);
this.fixture = 'Piwik\\Plugins\\Login\\tests\\Fixtures\\PendingUsers';
var pendingUserUrl = '?module=Login&action=declineInvitation&token=13cb9dcef6cc70b02a640cee30dc8ce9';
it('should display decline invite page', async function () {
await page.goto(pendingUserUrl);
expect(await page.screenshot({ fullPage: true })).to.matchImage('default');
});
});
|