Skip to content

Commit

Permalink
fixes due code review
Browse files Browse the repository at this point in the history
  • Loading branch information
anijanyan committed May 24, 2023
1 parent f553aed commit a272e21
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import {expect} from "chai";
import * as puppeteer from 'puppeteer';

const opts = {
headless: false,
slowMo: 10,
devtools: true
headless: true,
slowMo: 0,
devtools: false
};

describe("sample test", function () {
describe("General ui tests", function () {
let browser: puppeteer.Browser;
let page: puppeteer.Page;
let errors = [];
Expand All @@ -31,10 +31,6 @@ describe("sample test", function () {
expect(errors.length).to.eql(0);
})

it('should have the correct page title', async function () {
expect(await page.title()).to.eql('Example with using fetch and inline worker');
});

after(async function () {
await browser.close();
});
Expand Down

0 comments on commit a272e21

Please sign in to comment.