Skip to content

Commit f41a959

Browse files
committed
fix: Cast share id to string, fix test
Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
1 parent 2abf3f0 commit f41a959

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

cypress/e2e/tables-sharing-link.cy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ describe('Public link sharing', () => {
9494
cy.visit(`apps/tables/s/${shareToken}`)
9595

9696
// Password Gate
97-
cy.get('input[type="password"]#password').should('be.visible').type(password)
98-
cy.get('input#password-submit').click()
97+
cy.get('input[type="password"]').should('be.visible').type(password)
98+
cy.get('button[type="submit"]').click()
9999
cy.get('[data-cy="publicTableElement"]').should('be.visible')
100100

101101
// Login again to delete share

src/modules/navigation/partials/NavigationTableItem.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<NcActionButton @click="exportFile">
6565
{{ t('tables', 'Export') }}
6666
<template #icon>
67-
<Import :size="20" />
67+
<Export :size="20" />
6868
</template>
6969
</NcActionButton>
7070
<!-- INTEGRATION -->
@@ -151,6 +151,7 @@ import activityMixin from '../../../shared/mixins/activityMixin.js'
151151
import { getCurrentUser, getRequestToken } from '@nextcloud/auth'
152152
import Connection from 'vue-material-design-icons/Connection.vue'
153153
import Import from 'vue-material-design-icons/Import.vue'
154+
import Export from 'vue-material-design-icons/Export.vue'
154155
import NavigationViewItem from './NavigationViewItem.vue'
155156
import PlaylistPlus from 'vue-material-design-icons/PlaylistPlus.vue'
156157
import IconRename from 'vue-material-design-icons/RenameOutline.vue'
@@ -168,6 +169,7 @@ export default {
168169
ArchiveArrowDown,
169170
ArchiveArrowUpOutline,
170171
Import,
172+
Export,
171173
NavigationViewItem,
172174
NcActionButton,
173175
NcAppNavigationItem,

0 commit comments

Comments
 (0)