@@ -14,7 +14,7 @@ test.use({
14
14
// RETICULATE_PYTHON
15
15
// to the installed python path
16
16
17
- test . describe . skip ( 'Reticulate' , {
17
+ test . describe ( 'Reticulate' , {
18
18
tag : [ tags . RETICULATE , tags . WEB ] ,
19
19
} , ( ) => {
20
20
test . beforeAll ( async function ( { app, workspaceSettings } ) {
@@ -29,43 +29,27 @@ test.describe.skip('Reticulate', {
29
29
}
30
30
} ) ;
31
31
32
- test ( 'R - Verify Basic Reticulate Functionality using reticulate::repl_python() with multiple sessions' , async function ( { app, sessions } ) {
32
+ test ( 'R - Verify Basic Reticulate Functionality using reticulate::repl_python() with multiple sessions' , async function ( { app, sessions, logger } ) {
33
33
34
34
const rSessionMetaData = await sessions . start ( 'r' ) ;
35
35
36
36
await app . workbench . console . pasteCodeToConsole ( 'reticulate::repl_python()' , true ) ;
37
37
38
- try {
39
- await app . workbench . console . waitForConsoleContents ( 'Yes/no/cancel' ) ;
40
- await app . workbench . console . typeToConsole ( 'no' ) ;
41
- await app . workbench . console . sendEnterKey ( ) ;
42
- } catch {
43
- // Prompt did not appear
44
- }
45
-
46
- await app . workbench . popups . installIPyKernel ( ) ;
47
-
48
38
await app . workbench . console . waitForReadyAndStarted ( '>>>' ) ;
49
39
50
- await verifyReticulateFunctionality ( app , rSessionMetaData . id ) ;
40
+ await app . workbench . sessions . renameSession ( 'reticulate' , 'sessionOne' ) ;
41
+
42
+ await verifyReticulateFunctionality ( app , rSessionMetaData . id , 'sessionOne' ) ;
51
43
52
44
const rSessionMetaData2 = await sessions . start ( 'r' , { reuse : false } ) ;
53
45
54
46
await app . workbench . console . pasteCodeToConsole ( 'reticulate::repl_python()' , true ) ;
55
47
56
- try {
57
- await app . workbench . console . waitForConsoleContents ( 'Yes/no/cancel' ) ;
58
- await app . workbench . console . typeToConsole ( 'no' ) ;
59
- await app . workbench . console . sendEnterKey ( ) ;
60
- } catch {
61
- // Prompt did not appear
62
- }
63
-
64
- await app . workbench . popups . installIPyKernel ( ) ;
65
-
66
48
await app . workbench . console . waitForReadyAndStarted ( '>>>' ) ;
67
49
68
- await verifyReticulateFunctionality ( app , rSessionMetaData2 . id , 'Python (reticulate)' , '300' , '500' , '7' ) ;
50
+ await app . workbench . sessions . renameSession ( 'reticulate' , 'sessionTwo' ) ;
51
+
52
+ await verifyReticulateFunctionality ( app , rSessionMetaData2 . id , 'sessionTwo' , '300' , '500' , '7' ) ;
69
53
70
54
} ) ;
71
55
} ) ;
0 commit comments