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

[TASK] Automate download export screenshots #224

Merged
merged 1 commit into from
Jun 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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