remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
remix-project/test-browser/tests/new-file-test.js

18 lines
399 B

'use strict'
var init = require('../helpers/init')
var sauce = require('./sauce')
module.exports = {
before: function (browser, done) {
init(browser, done)
},
'New file test': function (browser) {
browser
.waitForElementVisible('.newFile', 10000)
.click('.newFile')
.pause(500)
.assert.containsText('.active', 'Untitled')
.end()
},
tearDown: sauce
}