File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/modules/main/sections Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ let localUser
66let localUser2
77let tableTitle = 'Shared todo'
88
9- describe ( 'Manage a table' , ( ) => {
9+ describe ( 'Share a table' , ( ) => {
1010
1111 before ( function ( ) {
1212 cy . createRandomUser ( ) . then ( user => {
@@ -30,6 +30,7 @@ describe('Manage a table', () => {
3030 cy . get ( '[data-cy="customTableAction"] button' ) . click ( )
3131 cy . get ( '[data-cy="dataTableShareBtn"]' ) . click ( )
3232 cy . get ( '[data-cy="shareFormSelect"] input' ) . type ( localUser2 . userId )
33+ cy . wait ( 1000 )
3334 cy . get ( `.vs__dropdown-menu [user="${ localUser2 . userId } "]` ) . click ( )
3435 cy . wait ( 1000 )
3536 cy . get ( '[data-cy="sharedWithList"]' ) . contains ( localUser2 . userId ) . should ( 'exist' )
Original file line number Diff line number Diff line change 123123 </NcActionButton >
124124 <NcActionButton v-if =" canReadData(table)" :close-after-click =" true"
125125 icon =" icon-download"
126- data-cy =" dataTableDownloadCSVBtn " @click =" $emit('download-csv')" >
126+ data-cy =" dataTableExportBtn " @click =" $emit('download-csv')" >
127127 {{ t('tables', 'Export as CSV') }}
128128 </NcActionButton >
129129 <NcActionButton v-if =" canShareElement(table)"
You can’t perform that action at this time.
0 commit comments