mirror of
https://github.com/google/blockly.git
synced 2026-01-11 10:57:07 +01:00
Merge pull request #4295 from google/dependabot/npm_and_yarn/develop/webdriverio-6.5.2
Bump webdriverio from 5.22.4 to 6.5.2
This commit is contained in:
728
package-lock.json
generated
728
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -77,7 +77,7 @@
|
||||
"selenium-standalone": "^6.17.0",
|
||||
"through2": "^4.0.2",
|
||||
"typescript-closure-tools": "^0.0.7",
|
||||
"webdriverio": "^5.22.4",
|
||||
"webdriverio": "^6.5.2",
|
||||
"yargs": "^16.0.3"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -39,9 +39,10 @@ async function runLangGeneratorInBrowser(browser, filename, codegenFn) {
|
||||
*/
|
||||
async function runGeneratorsInBrowser() {
|
||||
var options = {
|
||||
capabilities: {
|
||||
browserName: 'firefox'
|
||||
}
|
||||
capabilities: {
|
||||
browserName: 'firefox'
|
||||
},
|
||||
path: '/wd/hub'
|
||||
};
|
||||
// Run in headless mode on Travis.
|
||||
if (process.env.TRAVIS_CI) {
|
||||
|
||||
@@ -19,9 +19,10 @@ module.exports = runMochaTestsInBrowser;
|
||||
*/
|
||||
async function runMochaTestsInBrowser() {
|
||||
var options = {
|
||||
capabilities: {
|
||||
browserName: 'chrome'
|
||||
}
|
||||
capabilities: {
|
||||
browserName: 'chrome'
|
||||
},
|
||||
path: '/wd/hub'
|
||||
};
|
||||
// Run in headless mode on Travis.
|
||||
if (process.env.TRAVIS_CI) {
|
||||
@@ -40,7 +41,9 @@ async function runMochaTestsInBrowser() {
|
||||
var elem = await browser.$('#failureCount');
|
||||
var text = await elem.getAttribute('tests_failed');
|
||||
return text != 'unset';
|
||||
}, 33000);
|
||||
}, {
|
||||
timeout: 50000
|
||||
});
|
||||
|
||||
const elem = await browser.$('#failureCount');
|
||||
const numOfFailure = await elem.getAttribute('tests_failed');
|
||||
|
||||
Reference in New Issue
Block a user