Skip to content

Commit

Permalink
Merge pull request #900 from carstingaxion/fix/demo-data-repo-rename
Browse files Browse the repository at this point in the history
Rename demo-data repo
  • Loading branch information
carstingaxion authored Sep 23, 2024
2 parents 302ded6 + f855294 commit 2e8f82b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/create-preview-links.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
},
],
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/wordpress-org-screenshots/blueprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion .wordpress-org/blueprints/blueprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion docs/contributor/screenshot-generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)!

Expand Down

0 comments on commit 2e8f82b

Please sign in to comment.