-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Module * Deepmerge * Module * *.conf.js * Basic Convert * Basic Convert * Fix import * Fix import * Fix config import * Fix exec import * Directory * Undo * Lint * Test * Test * T347117 Repo Nuke Test flaky (#480) * fix: make nuke test wait for jobs * fix: assert instead of return * fix: individual vars for clarity * Import Fixes * Filter * Blazegraph import * Imports * imports * readFileEncoding * page.js * default-functions.js * defaultFunctions * fix: image upload test * Formatting * Function * Refactor * Passing * Passing CJS * Working MJS * Engines * WDIO Patch --------- Co-authored-by: rti <rti@users.noreply.github.com> Co-authored-by: roti <robert.timm@wikimedia.de>
- Loading branch information
1 parent
3ab3bb8
commit 845f7e4
Showing
64 changed files
with
483 additions
and
526 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
'use strict'; | ||
import lodash from 'lodash'; | ||
|
||
const lodash = require( 'lodash' ); | ||
|
||
const getElementByURI = function ( uri, bindings ) { | ||
export const getElementByURI = function ( uri, bindings ) { | ||
const index = lodash.findIndex( bindings, function ( binding ) { | ||
return binding.p.value === uri; | ||
} ); | ||
return index === -1 ? [] : bindings[ index ]; | ||
}; | ||
|
||
module.exports = { | ||
getElementByURI: getElementByURI | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
'use strict'; | ||
class Page { | ||
constructor() { | ||
} | ||
constructor() {} | ||
|
||
async open( path ) { | ||
await browser.url( 'http://' + process.env.WDQS_FRONTEND_SERVER + path ); | ||
} | ||
} | ||
module.exports = Page; | ||
|
||
export default Page; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
'use strict'; | ||
|
||
const utf8 = { encoding: 'utf8' }; | ||
|
||
module.exports = { | ||
utf8: utf8 | ||
}; | ||
export const utf8 = { encoding: 'utf8' }; |
Oops, something went wrong.