Skip to content

Commit 64b8aaf

Browse files
Ankit098francisf
authored andcommitted
update: local test to hit different url
1 parent c594952 commit 64b8aaf

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

tests/specs/local_test.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
describe('BrowserStack Local Testing', () => {
22
it('can check tunnel working', async () => {
3-
await browser.url('http://bs-local.com:45691/check');
4-
(await browser.getPageSource()).should.match(/Up and running/i);
3+
await browser.url('http://bs-local.com:45454');
4+
await browser.waitUntil(
5+
async () => (await browser.getTitle()).match(/BrowserStack Local/i),
6+
5000,
7+
"Failed to connect local tunnel"
8+
);
59
});
610
});

0 commit comments

Comments
 (0)