Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7687658
test.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
561 B
Referenced Files
None
Subscribers
None
test.js
View Options
// For authoring Nightwatch tests, see
// http://nightwatchjs.org/guide#usage
module
.
exports
=
{
'default e2e tests'
:
function
(
browser
)
{
// automatically uses dev Server port from /config.index.js
// default: http://localhost:8080
// see nightwatch.conf.js
const
devServer
=
browser
.
globals
.
devServerURL
browser
.
url
(
devServer
)
.
waitForElementVisible
(
'#app'
,
5000
)
.
assert
.
elementPresent
(
'.hello'
)
.
assert
.
containsText
(
'h1'
,
'Welcome to Your Vue.js App'
)
.
assert
.
elementCount
(
'img'
,
1
)
.
end
()
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 3, 10:47 PM (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
437996
Default Alt Text
test.js (561 B)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment