forked from QuantStack/jupyterlab-drawio
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Documents.robot
76 lines (59 loc) · 2.54 KB
/
Documents.robot
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
*** Comments ***
# Copyright 2023 ipydrawio contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*** Settings ***
Documentation Test some diagrams in lite
Resource ../_Keywords.robot
Resource ./_Keywords.robot
Library OperatingSystem
Suite Setup Set Screenshot Directory ${OUTPUT DIR}${/}lite${/}documents
Force Tags component:document
*** Test Cases ***
Poster Dio Svg
[Documentation] Does the Poster.dio.svg example document work?
Example Document Should Load Poster.dio.svg
Roadmap Dio Svg
[Documentation] Does the ROADMAP.dio.svg example document work?
Example Document Should Load ROADMAP.dio.svg
Affinity Dio Svg
[Documentation] Does the affinity.dio.svg example document work?
Example Document Should Load affinity.dio.svg
Comp Dio Svg
[Documentation] Does the comp.dio.svg example document work?
Example Document Should Load comp.dio.svg
Deployment Dio Svg
[Documentation] Does the deployment.dio.svg example document work?
Example Document Should Load deployment.dio.svg
Mermaid Dio Svg
[Documentation] Does the mermaid.dio.svg example document work?
Example Document Should Load mermaid.dio.svg
Mindmap Dio Svg
[Documentation] Does the mindmap.dio.svg example document work?
Example Document Should Load mindmap.dio.svg
Wireframe Dio Svg
[Documentation] Does the wireframe.dio.svg example document work?
Example Document Should Load wireframe.dio.svg
What-Can-You-Draw Dio Svg
[Documentation] Does the what-can-you-draw.dio.svg example document work?
Example Document Should Load what-can-you-draw.dio.svg
*** Keywords ***
Example Document Should Load
[Documentation] Does one example document work?
[Arguments] ${file}
Try to Close All Tabs
Ensure File Browser is Open
Double Click Element css:[title*\="${file}"]
Unselect Frame
Wait Until Element is Visible ${CSS DIO IFRAME} timeout=20s
Capture Page Screenshot 00-${file}-loaded.png