Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
chore(bump version):
Browse files Browse the repository at this point in the history
  • Loading branch information
tnolet committed Oct 30, 2018
1 parent e236102 commit 402d47c
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 28 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "puppeteer-recorder",
"version": "0.4.1",
"version": "0.5.0",
"description": "A Chrome extension for recording browser interaction and generating Puppeteer scripts",
"main": "index.js",
"scripts": {
Expand Down
51 changes: 26 additions & 25 deletions src/content-scripts/__tests__/forms.spec.js
Expand Up @@ -8,6 +8,32 @@ let browser
let page

describe.skip('forms', () => {

beforeAll(async (done) => {
await runDist()
const buildDir = process.env.NODE_ENV === 'production' ? '../../../dist' : '../../../build'
const fixture = './fixtures/forms.html'
server = await startServer(buildDir, fixture)
return done()
}, 20000)

afterAll(done => {
server.close(() => {
return done()
})
})

beforeEach(async () => {
browser = await launchPuppeteerWithExtension(puppeteer)
page = await browser.newPage()
await page.goto('http://localhost:3000/')
await cleanEventLog(page)
})

afterEach(async () => {
browser.close()
})

const tab = 1
const change = 1
test('it should load the form', async () => {
Expand Down Expand Up @@ -58,28 +84,3 @@ describe.skip('forms', () => {
expect(eventLog[2].value).toEqual('checkbox2')
})
})

beforeAll(async (done) => {
await runDist()
const buildDir = process.env.NODE_ENV === 'production' ? '../../../dist' : '../../../build'
const fixture = './fixtures/forms.html'
server = await startServer(buildDir, fixture)
return done()
}, 20000)

afterAll(done => {
server.close(() => {
return done()
})
})

beforeEach(async () => {
browser = await launchPuppeteerWithExtension(puppeteer)
page = await browser.newPage()
await page.goto('http://localhost:3000/')
await cleanEventLog(page)
})

afterEach(async () => {
browser.close()
})
2 changes: 1 addition & 1 deletion src/manifest.json
@@ -1,6 +1,6 @@
{
"name": "Puppeteer Recorder",
"version": "0.4.1",
"version": "0.5.0",
"manifest_version": 2,
"description": "A Chrome extension for recording browser interaction and generating Puppeteer scripts",
"permissions": [
Expand Down
Expand Up @@ -17,7 +17,7 @@ exports[`App.vue it has the correct pristine / empty state 1`] = `
class="text-muted"
>
<small>
0.4.1
0.5.0
</small>
</span>
</a>
Expand Down

0 comments on commit 402d47c

Please sign in to comment.