Skip to content
Permalink
Browse files

fix(protractor): updated protractor demo.e2e.ts files to use baseUrl

  • Loading branch information...
shahabganji authored and 3cp committed Aug 16, 2019
1 parent 5dfb827 commit 81cb28a5fbde9cb413523df638b0c69bc51b138b
@@ -1,6 +1,6 @@
import {PageObjectWelcome} from './welcome.po';
import {PageObjectSkeleton} from './skeleton.po';
import {config} from '../protractor.conf';
import {config} from '../../protractor.conf';
// @if feat.typescript
import {browser, element, by, By, $, $$, ExpectedConditions} from 'aurelia-protractor-plugin/protractor';
// @endif
@@ -14,7 +14,7 @@ describe('aurelia skeleton app', function() {
poSkeleton = new PageObjectSkeleton();
poWelcome = new PageObjectWelcome();

await browser.loadAndWaitForAureliaPage(`http://localhost:${config.port}`);
await browser.loadAndWaitForAureliaPage(`http://${config.baseUrl}`);
});

it('should load the page and display the initial page title', async () => {
@@ -1,6 +1,6 @@
import {PageObjectWelcome} from './welcome.po';
import {PageObjectSkeleton} from './skeleton.po';
import {config} from '../protractor.conf';
import {config} from '../../protractor.conf';
// @if feat.typescript
import {browser, element, by, By, $, $$, ExpectedConditions} from 'aurelia-protractor-plugin/protractor';
// @endif
@@ -13,7 +13,7 @@ describe('aurelia skeleton app', function() {
poSkeleton = new PageObjectSkeleton();
poWelcome = new PageObjectWelcome();

await browser.loadAndWaitForAureliaPage(`http://localhost:${config.port}`);
await browser.loadAndWaitForAureliaPage(`http://${config.baseUrl}`);
});

it('should load the page and display the initial page title', async () => {

0 comments on commit 81cb28a

Please sign in to comment.
You can’t perform that action at this time.