Commit dc8d1a27 authored by ioedeveloper's avatar ioedeveloper

Change e2e tests to point to new localhost port 4200

parent 46aa460e
......@@ -47,7 +47,7 @@ npm start
## DEVELOPING:
Run `npm start` and open `http://127.0.0.1:8080` in your browser.
Run `npm start` and open `http://127.0.0.1:4200` in your browser.
Then open your `text editor` and start developing.
The browser will automatically refresh when files are saved.
......
......@@ -7,7 +7,7 @@ setupRemixd () {
cd apps/remix-ide/contracts
echo 'sharing folder: '
echo $PWD
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:8080 &
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:4200 &
cd ../../..
}
......
......@@ -7,7 +7,7 @@ setupRemixd () {
cd apps/remix-ide/contracts
echo 'sharing folder: '
echo $PWD
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:8080 &
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:4200 &
cd ../../..
}
......
......@@ -7,7 +7,7 @@ setupRemixd () {
cd apps/remix-ide/contracts
echo 'sharing folder: '
echo $PWD
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:8080 &
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:4200 &
cd ../../..
}
......
......@@ -7,7 +7,7 @@ setupRemixd () {
cd apps/remix-ide/contracts
echo 'sharing folder: '
echo $PWD
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:8080 &
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:4200 &
cd ../../..
}
......
......@@ -5,6 +5,6 @@ So if you've found the documentation to Remix but don't know where to find Remix
- An online version is available at [https://remix.ethereum.org](https://remix.ethereum.org). This version is stable and is updated at almost every release.
- An alpha online version is available at [https://remix-alpha.ethereum.org](https://remix-alpha.ethereum.org). This is not a stable version.
- npm `remix-ide` package `npm install remix-ide -g`. `remix-ide` create a new instance of `Remix IDE` available at [http://127.0.0.1:8080](http://127.0.0.1:8080) and make the current folder available to Remix IDE by automatically starting `remixd`.
- npm `remix-ide` package `npm install remix-ide -g`. `remix-ide` create a new instance of `Remix IDE` available at [http://127.0.0.1:4200](http://127.0.0.1:4200) and make the current folder available to Remix IDE by automatically starting `remixd`.
see [Connection to `remixd`](https://remix-ide.readthedocs.io/en/latest/remixd.html) for more information about sharing local file with `Remix IDE`.
- Github release: [https://github.com/ethereum/remix-ide/releases](https://github.com/ethereum/remix-ide/releases) . The source code is packaged at every release but still need to be built using `npm run build`.
......@@ -225,7 +225,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
toolTip('You are using an `https` connection. Please switch to `http` if you are using Remix against an `http Web3 provider` or allow Mixed Content in your browser.')
}
const hosts = ['127.0.0.1:8080', '192.168.0.101:8080', 'localhost:8080']
const hosts = ['127.0.0.1:4200', '192.168.0.101:4200', 'localhost:4200']
// workaround for Electron support
if (!isElectron() && !hosts.includes(window.location.host)) {
// Oops! Accidentally trigger refresh or bookmark.
......
......@@ -2,7 +2,7 @@ require('dotenv').config()
module.exports = function (browser, callback, url, preloadPlugins = true) {
browser
.url(url || 'http://127.0.0.1:8080')
.url(url || 'http://127.0.0.1:4200')
.pause(5000)
.switchBrowserTab(0)
.injectScript('test-browser/helpers/applytestmode.js', function () {
......
......@@ -4,7 +4,7 @@ const sauce = require('./sauce')
module.exports = {
before: function (browser, done) {
init(browser, done, 'http://127.0.0.1:8080', false)
init(browser, done, 'http://127.0.0.1:4200', false)
},
'Loads Icon\'s Panel': function (browser) {
browser.waitForElementVisible('div[data-id="remixIdeIconPanel"]', 10000)
......
......@@ -4,7 +4,7 @@ const sauce = require('./sauce')
module.exports = {
before: function (browser, done) {
init(browser, done, 'http://127.0.0.1:8080', false)
init(browser, done, 'http://127.0.0.1:4200', false)
},
'Should display settings menu': function (browser) {
......
......@@ -9,7 +9,7 @@ const testData = {
module.exports = {
before: function (browser, done) {
init(browser, done, 'http://127.0.0.1:8080', false)
init(browser, done, 'http://127.0.0.1:4200', false)
},
'Should Load Plugin Manager': function (browser) {
......
......@@ -4,7 +4,7 @@ var sauce = require('./sauce')
module.exports = {
before: function (browser, done) {
init(browser, done, 'http://127.0.0.1:8080?plugins=solidity,udapp', false)
init(browser, done, 'http://127.0.0.1:4200?plugins=solidity,udapp', false)
},
'Should execution a simple console command': function (browser) {
......
......@@ -4,7 +4,7 @@ const sauce = require('./sauce')
module.exports = {
before: function (browser, done) {
init(browser, done, 'http://127.0.0.1:8080?plugins=solidity,udapp', false)
init(browser, done, 'http://127.0.0.1:4200?plugins=solidity,udapp', false)
},
'CheckSolidityActivatedAndUDapp': function (browser) {
browser
......
......@@ -86,7 +86,7 @@
"nightwatch_local_runAndDeploy": "nightwatch ./apps/remix-ide/test-browser/tests/runAndDeploy.js --config apps/remix-ide/nightwatch.js --env chrome-runAndDeploy ",
"onchange": "onchange apps/remix-ide/build/app.js -- npm-run-all lint",
"prepublish": "mkdirp build; npm-run-all -ls downloadsolc_root build",
"remixd": "remixd -s ./apps/remix-ide/contracts --remix-ide http://127.0.0.1:8080",
"remixd": "remixd -s ./apps/remix-ide/contracts --remix-ide http://127.0.0.1:4200",
"selenium": "selenium-standalone start",
"selenium-install": "selenium-standalone install",
"sourcemap": "exorcist --root ../ apps/remix-ide/build/app.js.map > apps/remix-ide/build/app.js",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment