Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7407865
screenshots.diffs.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
815 B
Referenced Files
None
Subscribers
None
screenshots.diffs.js
View Options
'use strict'
;
const
createScreenshotEnvironment
=
require
(
'./screenshots.js'
).
createScreenshotEnvironment
,
test
=
require
(
'selenium-webdriver/testing'
),
diffs
=
require
(
'./screenshots-client/diffs.js'
),
runScreenshotTest
=
createScreenshotEnvironment
(
test
);
function
runTests
(
lang
)
{
const
runLang
=
runScreenshotTest
.
bind
(
this
,
lang
);
test
.
describe
(
'Screenshots: '
+
lang
,
function
()
{
this
.
lang
=
lang
;
test
.
it
(
'Simple diff'
,
()
=>
{
runLang
(
'VisualEditor_diff_simple'
,
diffs
.
simple
);
runLang
(
'VisualEditor_diff_move_and_change'
,
diffs
.
moveAndChange
);
runLang
(
'VisualEditor_diff_link_change'
,
diffs
.
linkChange
);
runLang
(
'VisualEditor_diff_list_change'
,
diffs
.
listChange
);
}
);
}
);
}
for
(
let
i
=
0
,
l
=
langs
.
length
;
i
<
l
;
i
++
)
{
runTests
(
langs
[
i
]
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 21, 21:12 (1 d, 15 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
da/3e/b954945c57778ce5e32275829027
Default Alt Text
screenshots.diffs.js (815 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment