Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F32351610
tests/selenium/README.md
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
zeljkofilipin
Sep 15 2020, 2:23 PM
2020-09-15 14:23:19 (UTC+0)
Size
588 B
Referenced Files
None
Subscribers
None
tests/selenium/README.md
View Options
#
Selenium
tests
For
more
information
see
https
:
//www.mediawiki.org/wiki/Selenium
##
Setup
See
https
:
//www.mediawiki.org/wiki/MediaWiki-Docker/Extension/[EXTENSION]
Chromedriver
has
to
run
in
one
terminal
window
:
chromedriver
--
url
-
base
=
wd
/
hub
--
port
=
4444
##
Run
all
specs
In
another
terminal
window
:
npm
run
selenium
-
test
##
Run
specific
tests
Filter
by
file
name
:
npm
run
selenium
-
test
--
--
spec
tests
/
selenium
/
specs
/[
FILE
-
NAME
]
Filter
by
file
name
and
test
name
:
npm
run
selenium
-
test
--
--
spec
tests
/
selenium
/
specs
/[
FILE
-
NAME
]
--
mochaOpts
.
grep
[
TEST
-
NAME
]
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8569665
Default Alt Text
tests/selenium/README.md (588 B)
Attached To
Mode
P8206 tests/selenium/README.md
Attached
Detach File
Event Timeline
Log In to Comment