File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ let collobrationURL
2+
3+ describe ( "Create a new file in the universal data tool" , ( ) => {
4+ it ( 'should be able to create new file' , ( ) => {
5+ cy . visit ( "http://localhost:6001" )
6+
7+ cy . contains ( "New File" ) . click ( )
8+ } )
9+
10+ it ( 'should be able to import Elon Musk Tweets images dataset' , ( ) => {
11+ cy . contains ( "Samples" ) . click ( )
12+ cy . contains ( "Import Toy Dataset" ) . click ( )
13+ cy . contains ( "Elon Musk Tweets" ) . siblings ( "td" ) . eq ( 2 ) . click ( )
14+ } )
15+
16+ it ( 'should be able to create new session' , ( ) => {
17+ cy . get ( "div[title='collaborate-icon']" ) . click ( )
18+ cy . contains ( "Create New Session" ) . click ( )
19+ } ) ;
20+
21+ it ( 'should be able to store session url' , ( ) => {
22+ cy . get ( "div[title='share-link']" ) . children ( ) . children ( ) . then ( elements => {
23+ collobrationURL = Cypress . $ ( elements [ 0 ] ) . val ( )
24+ } )
25+ } )
26+
27+ it ( 'should be able to go for session url' , ( ) => {
28+ cy . visit ( collobrationURL )
29+ } )
30+
31+ it ( 'should be able to navigate to samples' , ( ) => {
32+ cy . contains ( "Samples" ) . click ( )
33+ } )
34+ } )
You can’t perform that action at this time.
0 commit comments