forked from TYPO3-Documentation/TYPO3CMS-Reference-TSconfig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
screenshots.json
99 lines (99 loc) · 5 KB
/
screenshots.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"suites": {
"Styleguide": {
"screenshots": {
"_default": [
{"action": "resizeWindow", "width": 1024,"height": 768},
{"action": "setScreenshotsDocumentationPath", "path": "Documentation"},
{"action": "setScreenshotsImagePath","path": "Images/AutomaticScreenshots"},
{"action": "setScreenshotsRstPath","path": "Images/AutomaticScreenshots"},
{"action": "setCodeSnippetsSourcePath","path": "typo3conf/ext/styleguide"},
{"action": "setCodeSnippetsTargetPath", "path": "CodeSnippets"}
],
"fields": [
{"include": "_default"},
{
"action": "goToField",
"table": "tx_styleguide_elements_basic",
"uid": {
"action": "getUidByField",
"table": "tx_styleguide_elements_basic",
"field": "sys_language_uid",
"value": 0
},
"fields": "input_1"
},
{"action": "switchToMainFrame"},
{"action": "click", "link": "button.t3js-topbar-button-modulemenu"},
{"action": "switchToContentFrame"},
{
"action": "makeScreenshotOfElement",
"selector": ".typo3-TCEforms",
"fileName": "Input1"
},
{"action": "switchToMainFrame"},
{"action": "click", "link": "button.t3js-topbar-button-modulemenu"}
]
}
},
"Examples": {
"screenshots": {
"_default": [
{"action": "resizeWindow", "width": 1024,"height": 768},
{"action": "setScreenshotsDocumentationPath", "path": "Documentation"},
{"action": "setScreenshotsImagePath","path": "Images/AutomaticScreenshots"},
{"action": "setScreenshotsRstPath","path": "Images/AutomaticScreenshots"},
{"action": "setCodeSnippetsSourcePath","path": "typo3conf/ext/examples"},
{"action": "setCodeSnippetsTargetPath", "path": "CodeSnippets"}
],
"fileListExport": [
{"include": "_default"},
{"action": "resizeWindow", "width": 640,"height": 480},
{
"action": "goToTable",
"table": "tt_content",
"pid" : {
"action": "getUidByField",
"table": "pages",
"field": "title",
"value": "with ExportRecordsLinks"
}
},
{"action": "switchToMainFrame"},
{"action": "click", "link": "button.t3js-topbar-button-modulemenu"},
{
"action": "makeScreenshotOfElement",
"fileName": "WebList/WithExportButtons",
"captionText": "The list module with export buttons after activating the single-table mode"
},
{"action": "click", "link": "//button[contains(.,'Download')]"},
{"action": "waitForModalDialogInMainFrame"},
{
"action": "makeScreenshotOfElement",
"fileName": "WebList/ExportDialog"
},
{
"action": "goToTable",
"table": "tt_content",
"pid" : {
"action": "getUidByField",
"table": "pages",
"field": "title",
"value": "no ExportRecordsLinks"
}
},
{
"action": "makeScreenshotOfElement",
"fileName": "WebList/NoExportButtons",
"captionText": "The list module without export buttons after activating the single-table mode"
},
{"action": "switchToMainFrame"},
{"action": "click", "link": "button.t3js-topbar-button-modulemenu"},
{"action": "setCodeSnippetsTargetPath", "path": "CodeSnippets/PageTSconfig/Mod"},
{"action": "createCodeSnippet", "sourceFile": "Configuration/TSconfig/Page/Mod/csvExport.tsconfig", "targetFileName": "CsvExport", "language": "typoscript"},
{"action": "createCodeSnippet", "sourceFile": "Configuration/TSconfig/Page/Mod/noExportRecordsLinks.tsconfig", "targetFileName": "noExportRecordsLinks", "language": "typoscript"}
]
}
}
}
}