Page MenuHomeWickedGov Phorge

investigate.js
No OneTemporary

Size
958 B
Referenced Files
None
Subscribers
None

investigate.js

'use strict';
const LoginAsCheckUser = require( '../checkuserlogin' );
const InvestigatePage = require( '../pageobjects/investigate.page' );
describe( 'Investigate', () => {
describe( 'Without CheckUser user group', () => {
it( 'Should display permission error to logged-out user', async () => {
await InvestigatePage.open();
await expect( await InvestigatePage.hasPermissionErrors ).toExist();
} );
} );
describe( 'With CheckUser user group', () => {
before( async () => {
await LoginAsCheckUser.loginAsCheckUser();
await InvestigatePage.open();
} );
it( 'Should show targets input', async () => {
await expect( await InvestigatePage.targetsInput ).toExist();
} );
it( 'Should show duration selector', async () => {
await expect( await InvestigatePage.durationSelector ).toExist();
} );
it( 'Should show reason field', async () => {
await expect( await InvestigatePage.reasonInput ).toExist();
} );
} );
} );

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 3, 17:12 (11 h, 42 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f0/2d/eed8aae1a622a303500c06ebbbe2
Default Alt Text
investigate.js (958 B)

Event Timeline