Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
[TASK] Automate download export screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
linawolf committed Jun 19, 2021
1 parent a860491 commit de2cf71
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 9 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.. Automatic screenshot: Remove this line if you want to manually change this file
.. figure:: /Images/AutomaticScreenshots/ImportExport/DownloadExport.png
:alt: Download the export data
:class: with-shadow

Download the export data
Binary file not shown.

This file was deleted.

2 changes: 1 addition & 1 deletion Documentation/MigrateContent/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Export your data
You can save the exported data to your server or download it in the
tab :guilabel:`File & Preset`.

.. include:: /Images/ManualScreenshots/ImportExport/DownloadExport.rst.txt
.. include:: /Images/AutomaticScreenshots/ImportExport/DownloadExport.rst.txt

Import your data
================
Expand Down
8 changes: 6 additions & 2 deletions screenshots.json
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@
"action": "amOnPage",
"page": "/typo3/record/importexport/export?token=x&id=0&tx_impexp[pagetree][id]=1&tx_impexp[pagetree][levels]=0&tx_impexp[pagetree][tables][]=_ALL"
},
{"action": "scrollModuleBodyToTop"},
{
"action": "makeScreenshotOfElement",
"selector": ".t3js-impexp-preview",
Expand All @@ -510,13 +511,16 @@
},
{"action": "fillField", "field": "input#impexp-filename", "value": "MyExport"},
{"action": "drawBox", "selector": "input[name='tx_impexp[download_export]']"},
{"action": "resizeWindow", "width": 1024,"height": 1024},
{
"action": "makeScreenshotOfElement",
"selector": ".t3js-impexp-preview",
"fileName": "DownloadExport",
"selector": ".t3js-module-body",
"altText": "Download the export data",
"captionText": "Download the export data"
},
}
],
"import": [
{
"action": "amOnPage",
"page": "/typo3/record/importexport/import?token=x"
Expand Down

0 comments on commit de2cf71

Please sign in to comment.