Permalink
Browse files

replaced last webdriverjs appearences (rip webdriverjs)

  • Loading branch information...
1 parent 4bd0595 commit 2ed8089e7461658e852c28aef5356692de59701b @christian-bromann christian-bromann committed Oct 28, 2016
@@ -4,6 +4,6 @@ config['My tests'] = {
rootPath: '../',
environment: 'node', // or 'browser'
tests: [
- 'examples/webdriverjs.with.buster.js'
+ 'examples/webdriverio.with.buster.js'
]
-};
+};
View
@@ -248,7 +248,7 @@ module.exports = function (grunt) {
process.env._PLATFORM = 'iOS'
process.env._VERSION = '9.2'
process.env._DEVICENAME = 'iPhone 6'
- process.env._APP = path.join(__dirname, '/test/site/platforms/ios/build/emulator/WebdriverJS Example Phonegap Application.app')
+ process.env._APP = path.join(__dirname, '/test/site/platforms/ios/build/emulator/WebdriverIO Guinea Pig.app')
} else if (!process.env.CI && env === 'android') {
process.env._PLATFORM = 'Android'
process.env._VERSION = '4.4'
@@ -5,6 +5,6 @@ export default {
subPage: 'http://127.0.0.1:8080/two.html',
gestureTest: 'http://127.0.0.1:8080/gestureTest.html',
staleTest: 'http://127.0.0.1:8080/stale.html',
- title: 'WebdriverJS Testpage'
+ title: 'WebdriverIO Testpage'
}
}
View
@@ -2,7 +2,7 @@ export default {
port: process.env.CI ? 4445 : 4723,
desiredCapabilities: {
app: process.env._APP,
- appPackage: 'io.webdriverjs.example',
+ appPackage: 'io.webdriverio.example',
appActivity: '.MainActivity',
platformName: (process.env._PLATFORM || '').replace(/_/g, ' '),
platformVersion: (process.env._VERSION || ''),
@@ -6,7 +6,7 @@ let labels = {
if (process.env._ENV === 'android') {
labels = merge(labels, {
- WEBVIEW_CONTEXT: 'WEBVIEW_io.webdriverjs.example',
+ WEBVIEW_CONTEXT: 'WEBVIEW_io.webdriverio.example',
ACTIVITY: '.MainActivity',
HITAREA: '//android.widget.LinearLayout[1]/android.widget.FrameLayout[1]/android.webkit.WebView[1]/android.webkit.WebView[1]/android.view.View[2]'
})
@@ -7,7 +7,7 @@ describe('promised based async handling', () => {
it('should pass a promise test', () => {
return browser.url('/').getTitle().then((result) => {
- expect(result).to.be.equal('WebdriverJS Testpage')
+ expect(result).to.be.equal('WebdriverIO Testpage')
})
})
@@ -1,10 +1,10 @@
{
- "id": "com.webdriverjs.example",
+ "id": "com.webdriverio.example",
"lib": {
"www": {
"id": "phonegap",
"version": "3.2.0"
}
},
- "name": "WebdriverJSExample"
-}
+ "name": "WebdriverIOExample"
+}
@@ -1,5 +1,5 @@
{
- "name": "WebdriverJS Testpage",
+ "name": "WebdriverIO Testpage",
"version": "0.0.1",
"homepage": "http://webdriver.io",
"authors": [
@@ -10,7 +10,7 @@
<body>
<header>
- <h1>WebdriverJS Testpage</h1>
+ <h1>WebdriverIO Testpage</h1>
<a href="gestureTest.html">2</a>
<a href="index.html">1</a>
</header>
@@ -175,4 +175,4 @@
</script>
</body>
-</html>
+</html>
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <title>WebdriverJS Testpage</title>
+ <title>WebdriverIO Testpage</title>
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="css/bootstrap.css">
@@ -10,7 +10,7 @@
<body>
<header>
- <h1>WebdriverJS Testpage</h1>
+ <h1>WebdriverIO Testpage</h1>
<a href="draw.html">3</a>
<a href="gestureTest.html">2</a>
<a href="index.html">1</a>
@@ -10,7 +10,7 @@
<body>
<header>
- <h1>WebdriverJS Testpage</h1>
+ <h1>WebdriverIO Testpage</h1>
<a href="draw.html">3</a>
<a href="gestureTest.html">2</a>
<a href="index.html">1</a>
View
@@ -12,6 +12,6 @@ describe('back', () => {
.back()
.pause(3000);
- (await this.client.getTitle()).should.be.equal('WebdriverJS Testpage')
+ (await this.client.getTitle()).should.be.equal('WebdriverIO Testpage')
})
})
@@ -35,7 +35,7 @@ describe('PromiseHandler', () => {
it('should propagate results to then', function () {
return this.client.getTitle().then(function (title) {
- title.should.be.equal('WebdriverJS Testpage')
+ title.should.be.equal('WebdriverIO Testpage')
return this.url()
}).then((url) => {
url.value.should.be.equal(conf.testPage.start)
@@ -18,8 +18,8 @@ describe('promise support', () => {
it('should propagate results to then', function () {
return this.client.getTitle().then(function (title) {
- title.browserA.should.be.equal('WebdriverJS Testpage')
- title.browserB.should.be.equal('WebdriverJS Testpage')
+ title.browserA.should.be.equal('WebdriverIO Testpage')
+ title.browserB.should.be.equal('WebdriverIO Testpage')
return this.url()
}).then((url) => {
url.browserA.value.should.be.equal(conf.testPage.start)

0 comments on commit 2ed8089

Please sign in to comment.