You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
Protractor last stable release embed Selenium 2.53.x release which got a serious bug preventing BDD tests to run (SeleniumHQ/selenium#2127). Please upgrade to selenium 3.x release.
Bug report
Node Version: v7.4.0
Protractor Version: 4.0.14
Angular Version: not relevant
Browser(s): not relevant
Operating System and Version not relevant
Your protractor configuration file:
exports.config = {
framework: 'mocha',
// directConnect : true,
seleniumAddress: 'http://localhost:4444/wd/hub',
specs: ['../../../*/tests/protractor/**/*.js'],
baseUrl: 'http://localhost:3001',
getPageTimeout: 10000,
allScriptsTimeout: 10000,
mochaOpts: {
timeout: 30000, // ms,
reporter: 'spec',
slow: '2000', // a test is slow if it takes over 1 sec to accomplish
delay: true
}
}
A relevant example test:
describe('Show Selenium 2.53 BDD issue :', function () {
it('should pass', function(){
expect(true).to.be.true;
});
it.skip('not be run', function () {
expect(true).to.be.false;
});
});
Output from running the test
[19:27:20] E/launcher - Error: Error: Test `title` should be a "string" but "function" was given instead.
at new Test (/home/vagrant/cld-apps/node_modules/mocha/lib/test.js:26:11)
at context.it.context.specify (/home/vagrant/cld-apps/node_modules/mocha/lib/interfaces/bdd.js:86:18)
at /home/vagrant/cld-apps/node_modules/protractor/node_modules/selenium-webdriver/testing/index.js:95:14
at context.xit.context.xspecify.context.it.skip (/home/vagrant/cld-apps/node_modules/mocha/lib/interfaces/bdd.js:105:15)
at Function.skip (/home/vagrant/cld-apps/node_modules/protractor/node_modules/selenium-webdriver/testing/index.js:98:14)
Steps to reproduce the bug
Just run this short test.
The text was updated successfully, but these errors were encountered:
Hi there,
Protractor last stable release embed Selenium 2.53.x release which got a serious bug preventing BDD tests to run (SeleniumHQ/selenium#2127). Please upgrade to selenium 3.x release.
Bug report
v7.4.0
4.0.14
not relevant
not relevant
not relevant
Just run this short test.
The text was updated successfully, but these errors were encountered: