From 1e131772b2c44196aa3d312839a9c7d13baeecd1 Mon Sep 17 00:00:00 2001 From: Freddy Heppell Date: Mon, 12 Aug 2024 16:22:26 +0100 Subject: [PATCH] add extra info to e2e test docs --- tests/e2e/README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/e2e/README.md b/tests/e2e/README.md index d4cfb49..534c103 100644 --- a/tests/e2e/README.md +++ b/tests/e2e/README.md @@ -15,7 +15,7 @@ The responses library is used to mock HTTP requests recorded from a real run of 3. Import `tools/test_site.xml` 4. Use `tools/gen_resp_record.py` to run the download command on the test site and record the responses. 5. Copy the recorded yml to `data/dl_requests_record.yaml` -6. Copy the download output to `data/download_out` +6. Copy the output of the download command to `data/download_out` ## `wpextract extract` @@ -25,4 +25,8 @@ The model output from the download command is used to test the behaviour of the 1. Use `tools/posts_dl.sh` to download the webpages from the test site 2. Copy the output directory to `data/site_scrape` - +3. Run the `wpextract extract` command: + ```shell + wpextract extract tools/download_out tools/extract_out --scrape-root tools/site_scrape/ + ``` +3. Copy the output of the extract command to `data/extract_out` \ No newline at end of file