Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phantomas V2 - the final merge into the main branch #753

Merged
merged 275 commits into from
Aug 7, 2020
Merged

Conversation

macbre
Copy link
Owner

@macbre macbre commented Jul 28, 2020

See #707

/cc @gmetais

TODO

  • publish alpha versions periodically to npm from this branch:
npm version v2.0.0-alpha1 prerelease
npm publish --tag next
  • try to fix remaining, size-related tests that fail when run outside of the container using GitHub Actions

Call page.evaludate() when the page is fully loaded (after page.goto promise is resolved), but before page.close() is called.
… layer

Fire "scopeMessage" events.

  /dom-operations.html
    ✓ should be generated
    ✓ should have "requests" metric properly set
    ✓ should have "cssCount" metric properly set
    ✓ should have "cssSize" metric properly set
    ✓ should have "jsCount" metric properly set
    ✓ should have "jsSize" metric properly set
    ✓ should have "domains" metric properly set
    ✓ should have "DOMqueries" metric properly set
    ✓ should have "DOMqueriesById" metric properly set
    ✓ should have "DOMqueriesByClassName" metric properly set
    ✓ should have "DOMqueriesByTagName" metric properly set
    ✓ should have "DOMqueriesByQuerySelectorAll" metric properly set
    ✓ should have "DOMinserts" metric properly set
    ✓ should have "DOMqueriesDuplicated" metric properly set
    ✓ should have "DOMqueriesAvoidable" metric properly set
    ✓ should have "DOMqueriesWithoutResults" metric properly set
  /dom-operations.html
    ✓ should be generated
    ✓ should have "DOMmutationsInserts" metric properly set
  /dom-id.html
    ✓ should be generated
    ✓ should have "DOMidDuplicated" metric properly set
macbre and others added 12 commits July 28, 2020 18:31
build(deps): bump async from 2.6.3 to 3.2.0
…g-4.0.1

build(deps): bump csv-string from 3.2.0 to 4.0.1
build(deps-dev): bump eslint from 7.5.0 to 7.6.0
Run tests using Node.js 12.x too
@macbre macbre marked this pull request as ready for review August 6, 2020 22:37
@macbre
Copy link
Owner Author

macbre commented Aug 6, 2020

dependabot bot and others added 7 commits August 7, 2020 05:02
…ss-0.12.11

build(deps): bump analyze-css from 0.12.10 to 0.12.11
Resolves #762

Before:

$ npm publish --dry-run 2>&1 | egrep 'size|files'

npm notice package size:  392.1 kB
npm notice unpacked size: 781.0 kB
npm notice total files:   164

After:

npm notice package size:  67.1 kB
npm notice unpacked size: 258.3 kB
npm notice total files:   86
@macbre macbre merged commit e3453b6 into devel Aug 7, 2020
@macbre macbre deleted the phantomas-v2 branch September 1, 2020 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch from PhantomJS to Chrome's headless mode
1 participant