@@ -114,6 +114,27 @@ describe('Widget Space: One on One: Data API Settings', () => {
114
114
} ) ;
115
115
} ) ;
116
116
117
+ describe ( 'opens using legacy toPersonEmail' , ( ) => {
118
+ before ( 'inject token' , ( ) => {
119
+ browserLocal . execute ( ( localAccessToken , localToUserEmail ) => {
120
+ const csmmDom = document . createElement ( 'div' ) ;
121
+ csmmDom . setAttribute ( 'class' , 'ciscospark-widget' ) ;
122
+ csmmDom . setAttribute ( 'data-toggle' , 'ciscospark-space' ) ;
123
+ csmmDom . setAttribute ( 'data-access-token' , localAccessToken ) ;
124
+ csmmDom . setAttribute ( 'data-to-person-email' , localToUserEmail ) ;
125
+ csmmDom . setAttribute ( 'data-initial-activity' , 'meet' ) ;
126
+ document . getElementById ( 'ciscospark-widget' ) . appendChild ( csmmDom ) ;
127
+ window . loadBundle ( '/dist-space/bundle.js' ) ;
128
+ } , spock . token . access_token , mccoy . email ) ;
129
+ browserLocal . waitForVisible ( elements . meetWidget ) ;
130
+ } ) ;
131
+
132
+ it ( 'opens meet widget' , ( ) => {
133
+ browserLocal . waitForVisible ( elements . meetButton ) ;
134
+ browserLocal . refresh ( ) ;
135
+ } ) ;
136
+ } ) ;
137
+
117
138
describe ( 'start call setting' , ( ) => {
118
139
before ( 'inject token' , ( ) => {
119
140
browserRemote . execute ( ( localAccessToken , localToUserEmail ) => {
@@ -155,26 +176,6 @@ describe('Widget Space: One on One: Data API Settings', () => {
155
176
} ) ;
156
177
} ) ;
157
178
158
- describe ( 'opens using legacy toPersonEmail' , ( ) => {
159
- before ( 'inject token' , ( ) => {
160
- browserLocal . execute ( ( localAccessToken , localToUserEmail ) => {
161
- const csmmDom = document . createElement ( 'div' ) ;
162
- csmmDom . setAttribute ( 'class' , 'ciscospark-widget' ) ;
163
- csmmDom . setAttribute ( 'data-toggle' , 'ciscospark-space' ) ;
164
- csmmDom . setAttribute ( 'data-access-token' , localAccessToken ) ;
165
- csmmDom . setAttribute ( 'data-to-person-email' , localToUserEmail ) ;
166
- csmmDom . setAttribute ( 'data-initial-activity' , 'meet' ) ;
167
- document . getElementById ( 'ciscospark-widget' ) . appendChild ( csmmDom ) ;
168
- window . loadBundle ( '/dist-space/bundle.js' ) ;
169
- } , spock . token . access_token , mccoy . email ) ;
170
- browserLocal . waitForVisible ( elements . meetWidget ) ;
171
- } ) ;
172
-
173
- it ( 'opens meet widget' , ( ) => {
174
- browserLocal . waitForVisible ( elements . meetButton ) ;
175
- browserLocal . refresh ( ) ;
176
- } ) ;
177
- } ) ;
178
179
179
180
/* eslint-disable-next-line func-names */
180
181
afterEach ( function ( ) {
0 commit comments