Skip to content

Commit

Permalink
fix(protractor): updated protractor demo.e2e.ts files to use baseUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
shahabganji authored and 3cp committed Sep 3, 2019
1 parent 5dfb827 commit 81cb28a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 () => {
Expand Down

0 comments on commit 81cb28a

Please sign in to comment.