Skip to content

Commit

Permalink
refactor(tests): Remove extra code
Browse files Browse the repository at this point in the history
  • Loading branch information
marker-dao committed Nov 8, 2023
1 parent eacf2b3 commit e7bc497
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/functional/epic.js
Original file line number Diff line number Diff line change
Expand Up @@ -492,15 +492,13 @@ if (!isMac) {

describe('Drag and drop table into editor', function () {
it('Should be no errors when table is dropped into editor (T1180959)', async function () {
const QL_EDITOR = 'ql-editor';

const browser = await puppeteer.launch({
headless: false,
});
const page = await browser.newPage();

await page.goto(`${HOST}/table_drag_drop.html`);
await page.waitForSelector(`.${QL_EDITOR}`, { timeout: 10000 });
await page.waitForSelector('.ql-editor', { timeout: 10000 });

page.on('pageerror', () => {
expect(true).toEqual(false);
Expand Down

0 comments on commit e7bc497

Please sign in to comment.