"doc": "jsduck",
"postdoc": "grunt copy:jsduck",
"selenium": "bash ./tests/selenium/selenium.sh",
- "selenium-daily": "npm run selenium-test",
+ "selenium-daily": "npm run selenium-test -- --mochaOpts.grep @daily",
"selenium-test": "wdio ./tests/selenium/wdio.conf.js"
},
"devDependencies": {
assert.strictEqual( EditPage.displayedContent.getText(), content );
} );
- it( 'should be editable', function () {
+ it( 'should be editable @daily', function () {
// create
browser.call( function () {
return Api.edit( name, content );
assert.strictEqual( EditPage.displayedContent.getText(), editContent );
} );
- it( 'should have history', function () {
+ it( 'should have history @daily', function () {
// create
browser.call( function () {
return Api.edit( name, content );
assert.strictEqual( CreateAccountPage.heading.getText(), `Welcome, ${username}!` );
} );
- it( 'should be able to log in', function () {
+ it( 'should be able to log in @daily', function () {
// create
browser.call( function () {
return Api.createAccount( username, password );
BlankPage = require( 'wdio-mediawiki/BlankPage' );
describe( 'BlankPage', function () {
- it( 'should have its title', function () {
+ it( 'should have its title @daily', function () {
BlankPage.open();
// check