Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4119917
investigate.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
972 B
Referenced Files
None
Subscribers
None
investigate.js
View Options
'use strict'
;
const
assert
=
require
(
'assert'
),
LoginAsCheckUser
=
require
(
'../checkuserlogin'
),
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
();
assert
(
await
InvestigatePage
.
hasPermissionErrors
.
isExisting
()
);
}
);
}
);
describe
(
'With CheckUser user group'
,
()
=>
{
before
(
async
()
=>
{
await
LoginAsCheckUser
.
loginAsCheckUser
();
await
InvestigatePage
.
open
();
}
);
it
(
'Should show targets input'
,
async
()
=>
{
assert
(
await
InvestigatePage
.
targetsInput
.
isExisting
()
);
}
);
it
(
'Should show duration selector'
,
async
()
=>
{
assert
(
await
InvestigatePage
.
durationSelector
.
isExisting
()
);
}
);
it
(
'Should show reason field'
,
async
()
=>
{
assert
(
await
InvestigatePage
.
reasonInput
.
isExisting
()
);
}
);
}
);
}
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 03:44 (1 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a2/d1/203a176ded49b96722db62a7b92a
Default Alt Text
investigate.js (972 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment