@@ -12,7 +12,6 @@ import { disconnect } from './scenarios/disconnect'
12
12
import { publishTopic } from './scenarios/publishTopic'
13
13
import { SceneBuilder } from './SceneBuilder'
14
14
import { showAdvancedConnectionSettings } from './scenarios/showAdvancedConnectionSettings'
15
- import { showJsonFormatting } from './scenarios/showJsonFormatting'
16
15
import { showJsonPreview } from './scenarios/showJsonPreview'
17
16
import { showMenu } from './scenarios/showMenu'
18
17
import { showNumericPlot } from './scenarios/showNumericPlot'
@@ -59,11 +58,11 @@ async function doStuff() {
59
58
const scenes = new SceneBuilder ( )
60
59
await scenes . record ( 'connect' , async ( ) => {
61
60
await connectTo ( '127.0.0.1' , browser )
62
- await sleep ( 2000 )
61
+ await sleep ( 1000 )
63
62
} )
64
63
65
64
await scenes . record ( 'numeric_plots' , async ( ) => {
66
- await showText ( 'Plot topic history' , 2000 , browser )
65
+ await showText ( 'Plot topic history' , 1500 , browser )
67
66
await showNumericPlot ( browser )
68
67
await sleep ( 2000 )
69
68
} )
@@ -80,20 +79,14 @@ async function doStuff() {
80
79
} )
81
80
82
81
await scenes . record ( 'publish_topic' , async ( ) => {
83
- await showText ( 'Publish topics' , 2000 , browser , 'top' )
82
+ await showText ( 'Publish topics' , 1500 , browser , 'top' )
84
83
await clickOnHistory ( browser )
85
84
await publishTopic ( browser )
86
85
await sleep ( 1000 )
87
86
} )
88
87
89
- await scenes . record ( 'json_formatting_publish' , async ( ) => {
90
- await showText ( 'Write JSON with ease' , 2000 , browser , 'top' )
91
- await showJsonFormatting ( browser )
92
- await sleep ( 1000 )
93
- } )
94
-
95
88
await scenes . record ( 'clipboard' , async ( ) => {
96
- await showText ( 'Copy to Clipboard' , 2000 , browser )
89
+ await showText ( 'Copy to Clipboard' , 1500 , browser )
97
90
await copyTopicToClipboard ( browser )
98
91
await hideText ( browser )
99
92
await copyValueToClipboard ( browser )
@@ -112,25 +105,25 @@ async function doStuff() {
112
105
113
106
await scenes . record ( 'delete_retained_topics' , async ( ) => {
114
107
await hideText ( browser )
115
- await showText ( 'Delete retained topics' , 0 , browser )
108
+ await showText ( 'Delete retained topics' , 5000 , browser )
116
109
await clearOldTopics ( browser )
117
110
await hideText ( browser )
118
111
} )
119
112
120
113
await scenes . record ( 'settings' , async ( ) => {
121
- await showText ( 'Display Options ' , 2000 , browser )
114
+ await showText ( 'Settings ' , 1500 , browser )
122
115
await showMenu ( browser )
123
116
} )
124
117
125
118
await scenes . record ( 'customize_subscriptions' , async ( ) => {
126
119
await sleep ( 2000 )
127
120
await disconnect ( browser )
128
- await showText ( 'Customize Subscriptions' , 1000 , browser , 'top' )
121
+ await showText ( 'Customize Subscriptions' , 1500 , browser , 'top' )
129
122
await showAdvancedConnectionSettings ( browser )
130
123
} )
131
124
132
125
await scenes . record ( 'keyboard_shortcuts' , async ( ) => {
133
- await showText ( 'Keyboard shortcuts' , 1750 , browser , 'middle' )
126
+ await showText ( 'Keyboard shortcuts' , 1500 , browser , 'middle' )
134
127
await sleep ( 1750 )
135
128
await showZoomLevel ( browser )
136
129
} )
0 commit comments