diff --git a/.github/scripts/create-preview-links.js b/.github/scripts/create-preview-links.js index c7a4d7298..2143a27cd 100644 --- a/.github/scripts/create-preview-links.js +++ b/.github/scripts/create-preview-links.js @@ -121,7 +121,7 @@ function createBlueprint(context, number, zipArtifactUrl, phpVersion) { step: 'importWxr', file: { resource: 'url', - url: 'https://raw.githubusercontent.com/GatherPress/demo-data/main/GatherPress-demo-data-2024.xml' + url: 'https://raw.githubusercontent.com/GatherPress/gatherpress-demo-data/main/GatherPress-demo-data-2024.xml' } }, ], diff --git a/.github/scripts/wordpress-org-screenshots/blueprint.json b/.github/scripts/wordpress-org-screenshots/blueprint.json index 0990516a1..e8e358331 100644 --- a/.github/scripts/wordpress-org-screenshots/blueprint.json +++ b/.github/scripts/wordpress-org-screenshots/blueprint.json @@ -53,7 +53,7 @@ "step": "importWxr", "file": { "resource": "url", - "url": "https://raw.githubusercontent.com/GatherPress/demo-data/main/GatherPress-demo-data-2024.xml" + "url": "https://raw.githubusercontent.com/GatherPress/gatherpress-demo-data/main/GatherPress-demo-data-2024.xml" } } ] diff --git a/.wordpress-org/blueprints/blueprint.json b/.wordpress-org/blueprints/blueprint.json index 404818d20..860fd12be 100644 --- a/.wordpress-org/blueprints/blueprint.json +++ b/.wordpress-org/blueprints/blueprint.json @@ -51,7 +51,7 @@ "step": "importWxr", "file": { "resource": "url", - "url": "https://raw.githubusercontent.com/GatherPress/demo-data/main/GatherPress-demo-data-2024.xml" + "url": "https://raw.githubusercontent.com/GatherPress/gatherpress-demo-data/main/GatherPress-demo-data-2024.xml" } } ] diff --git a/docs/contributor/screenshot-generator/README.md b/docs/contributor/screenshot-generator/README.md index b2b47621c..a46092bfd 100644 --- a/docs/contributor/screenshot-generator/README.md +++ b/docs/contributor/screenshot-generator/README.md @@ -2,7 +2,7 @@ > Generating screenshots in multiple languages for the plugin and keeping them up to date with the development might become a time intensive task. -GatherPress allows to generate screenshots for the plugin **automated & manually**, while sharing the same, [`wp-playground/cli`](https://github.com/WordPress/wordpress-playground/pull/1289) powered, setup. The started playground imports the [`GatherPress/demo-data`](https://github.com/GatherPress/demo-data) and sets some options, e.g. to hide GatherPress' admin-notices. +GatherPress allows to generate screenshots for the plugin **automated & manually**, while sharing the same, [`wp-playground/cli`](https://github.com/WordPress/wordpress-playground/pull/1289) powered, setup. The started playground imports the [`GatherPress/gatherpress-demo-data`](https://github.com/GatherPress/gatherpress-demo-data) and sets some options, e.g. to hide GatherPress' admin-notices. GatherPress uses Playwright for this task, which is a tool to do [end-to-end testing](../e2e-tests). Playwright has an advanced [screenshots API](https://playwright.dev/docs/screenshots), that allows to take screenshots for a full-page or an element only. Like for the e2e tests, it is configurable what browsers to use, what screenresolution to set, etc. Which screenshots to take is defined in a [wporg.spec.ts](../../../.github/scripts/wordpress-org-screenshots/wporg.spec.ts) file. The names of the generated files match the captions in the plugins [readme.md](../../../readme.md)!