Skip to content

Commit 81cb28a

Browse files
shahabganji3cp
authored andcommitted
fix(protractor): updated protractor demo.e2e.ts files to use baseUrl
1 parent 5dfb827 commit 81cb28a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

skeleton/scaffold-minimum/test__if_protractor/e2e/demo.e2e.ext

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {PageObjectWelcome} from './welcome.po';
22
import {PageObjectSkeleton} from './skeleton.po';
3-
import {config} from '../protractor.conf';
3+
import {config} from '../../protractor.conf';
44
// @if feat.typescript
55
import {browser, element, by, By, $, $$, ExpectedConditions} from 'aurelia-protractor-plugin/protractor';
66
// @endif
@@ -14,7 +14,7 @@ describe('aurelia skeleton app', function() {
1414
poSkeleton = new PageObjectSkeleton();
1515
poWelcome = new PageObjectWelcome();
1616

17-
await browser.loadAndWaitForAureliaPage(`http://localhost:${config.port}`);
17+
await browser.loadAndWaitForAureliaPage(`http://${config.baseUrl}`);
1818
});
1919

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

skeleton/scaffold-navigation/test__if_protractor/e2e/demo.e2e.ext

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {PageObjectWelcome} from './welcome.po';
22
import {PageObjectSkeleton} from './skeleton.po';
3-
import {config} from '../protractor.conf';
3+
import {config} from '../../protractor.conf';
44
// @if feat.typescript
55
import {browser, element, by, By, $, $$, ExpectedConditions} from 'aurelia-protractor-plugin/protractor';
66
// @endif
@@ -13,7 +13,7 @@ describe('aurelia skeleton app', function() {
1313
poSkeleton = new PageObjectSkeleton();
1414
poWelcome = new PageObjectWelcome();
1515

16-
await browser.loadAndWaitForAureliaPage(`http://localhost:${config.port}`);
16+
await browser.loadAndWaitForAureliaPage(`http://${config.baseUrl}`);
1717
});
1818

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

0 commit comments

Comments
 (0)