Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

build(deps-dev): bump puppeteer from 1.13.0 to 2.1.1 #3282

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
112 changes: 100 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -102,7 +102,7 @@
"mermaid.cli": "^0.5.1",
"morgan": "^1.9.1",
"nock": "^10.0.0",
"puppeteer": "1.13.0",
"puppeteer": "2.1.1",
"request": "^2.88.0",
"scripts-template": "file:scripts/template",
"sinon": "^8.1.1",
Expand Down
14 changes: 14 additions & 0 deletions test/e2e/ui/index.spec.js
Expand Up @@ -335,6 +335,20 @@ ava.serial('files upload: Users should be able to upload an image', async (test)
const input = await page.$('input[type="file"]')
await input.uploadFile(path.join(__dirname, 'assets', 'test.png'))

await require('bluebird').delay(10 * 1000)

const html = await page.$eval(`.column--slug-${thread.slug}`, (element) => {
return element.innerHTML
})

console.log('##############################')
console.log('##############################')
console.log('##############################')
console.log(html)
console.log('##############################')
console.log('##############################')
console.log('##############################')

await page.waitForSelector('.column--thread [data-test="event-card__image"]')

test.pass()
Expand Down