Fix base url.
This commit is contained in:
@@ -33,8 +33,8 @@
|
|||||||
"test-in-node": "npm run lint-errors && npm run just-test-in-node",
|
"test-in-node": "npm run lint-errors && npm run just-test-in-node",
|
||||||
"just-test": "karma start --config karma.conf.js",
|
"just-test": "karma start --config karma.conf.js",
|
||||||
"just-test-in-node": "mocha --recursive --compilers js:babel-core/register test/core test/components test/bugs test/swagger-ui-dist-package",
|
"just-test-in-node": "mocha --recursive --compilers js:babel-core/register test/core test/components test/bugs test/swagger-ui-dist-package",
|
||||||
"test-e2e": "sleep 3 && nightwatch test/e2e/scenarios --config test/e2e/nightwatch.json",
|
"e2e": "sleep 3 && nightwatch test/e2e/scenarios --config test/e2e/nightwatch.json",
|
||||||
"test-e2e-initial-render": "nightwatch test/e2e/scenarios/ --config test/e2e/nightwatch.json --group initial-render",
|
"e2e-initial-render": "nightwatch test/e2e/scenarios/ --config test/e2e/nightwatch.json --group initial-render",
|
||||||
"mock-api": "json-server --watch test/e2e/db.json --port 3204",
|
"mock-api": "json-server --watch test/e2e/db.json --port 3204",
|
||||||
"e2e-flow": "npm-run-all --parallel -r hot-server mock-api test-e2e"
|
"e2e-flow": "npm-run-all --parallel -r hot-server mock-api test-e2e"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ describe("render informationContainer", function () {
|
|||||||
|
|
||||||
it("renders base url", function (client) {
|
it("renders base url", function (client) {
|
||||||
informationContainer.waitForElementVisible("@baseUrl", 5000)
|
informationContainer.waitForElementVisible("@baseUrl", 5000)
|
||||||
.assert.containsText("@baseUrl", "[ Base url: localhost:3204/]")
|
.assert.containsText("@baseUrl", "[ Base URL: localhost:3204/]")
|
||||||
|
|
||||||
client.end()
|
client.end()
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user