Skip to content

Commit

Permalink
moar
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Aug 17, 2023
1 parent 27e0133 commit fb94071
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/functional/desktop-driver-e2e-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const CAPS = {
describe('Desktop SafariDriver', function () {
this.timeout(MOCHA_TIMEOUT);

/** @type {import('webdriverio').Browser} */
let driver;
beforeEach(async function () {
driver = await remote({
Expand All @@ -33,7 +34,7 @@ describe('Desktop SafariDriver', function () {

it('should start and stop a session', async function () {
await driver.url('https://appium.io/');
(await driver.getSource()).should.not.be.empty;
(await driver.getPageSource()).should.not.be.empty;
});
});

Expand Down
3 changes: 2 additions & 1 deletion test/functional/mobile-driver-e2e-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const CAPS = {
describe('Mobile SafariDriver', function () {
this.timeout(MOCHA_TIMEOUT);

/** @type {import('webdriverio').Browser} */
let driver;
before(async function () {
if (process.env.CI) {
Expand Down Expand Up @@ -59,7 +60,7 @@ describe('Mobile SafariDriver', function () {

it('should start and stop a session', async function () {
await driver.url('https://appium.io/');
(await driver.getSource()).should.not.be.empty;
(await driver.getPageSource()).should.not.be.empty;
});
});

Expand Down

0 comments on commit fb94071

Please sign in to comment.