Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6080367
basic.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
602 B
Referenced Files
None
Subscribers
None
basic.js
View Options
'use strict'
;
const
assert
=
require
(
'assert'
),
Api
=
require
(
'wdio-mediawiki/Api'
),
MathPage
=
require
(
'../pageobjects/math.page'
);
describe
(
'Math'
,
()
=>
{
let
bot
;
before
(
async
()
=>
{
bot
=
await
Api
.
bot
();
}
);
it
(
'should work for addition'
,
async
()
=>
{
// page should have random name
const
pageName
=
Math
.
random
().
toString
();
// create a page with a simple addition
await
bot
.
edit
(
pageName
,
'<math>3 + 2</math>'
);
await
MathPage
.
openTitle
(
pageName
);
// check if the page displays the image
assert
(
await
MathPage
.
mathml
.
isExisting
()
);
}
);
}
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 5 2026, 11:03 (6 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
27/45/b1e31387ffbc7556ec358c4294ae
Default Alt Text
basic.js (602 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment