Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Test improvements #63

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

okdistribute
Copy link
Contributor

@okdistribute okdistribute commented Jun 15, 2020

This loads the script in puppeteer, next steps:

  • Create an archive from each behavior during testing
  • Compare archive to previous versions to test them
  • Write results machine-readable file so we can see which behaviors have changed since the last 'verified' version

from @ikreymer

pywb will generate a json-like index, which can then be searched to verify that certain urls were archived.

the index would be in ./collections/BEHAVIORNAME/indexes/index.cdxj
from the root of where pywb is started.

I believe that the above config should result in history changes also being recorded, which is nice, and will be useful for dynamic pages.

For twitter, can probably just verify that the pages for each tweet, and certain images, videos are loaded..

Twitter

  • Create fake account with all the different content types

Facebook

  • Create fake account with all the different content types

Python 2.x

```
pip install pywb

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not all computers come with pip

@@ -0,0 +1,35 @@
Prerequisites:

Python 2.x

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

python not preinstalled on all os's

@frankiebee
Copy link

@ikreymer is their an email we can use for setting up a twitter account?

@ikreymer
Copy link
Member

@frankiebee Yes, good pint, created a new google group that can be used for this, sent an email to see if it worked.

echo $endlessloop_pid
echo $1
../../node_modules/.bin/ava --verbose lib/one.js --match $1
# node lib/output-status.js $1
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: Enable this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants