Skip to content

Commit f7faa61

Browse files
rewrite publicLink tests in playwright only (#13560)
1 parent 1560b05 commit f7faa61

5 files changed

Lines changed: 455 additions & 146 deletions

File tree

tests/e2e-playwright/specs/smoke/upload.spec.ts

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,10 @@ test.describe('internal link share', () => {
9595
// | resource |
9696
// | simple.pdf |
9797
// | testavatar.jpg |
98-
await ui.userUploadsResourceViaDragNDrop({
98+
await ui.userUploadsResourcesViaDragNDrop({
9999
world,
100100
stepUser: 'Alice',
101-
resource: 'simple.pdf'
102-
})
103-
await ui.userUploadsResourceViaDragNDrop({
104-
world,
105-
stepUser: 'Alice',
106-
resource: 'testavatar.jpg'
101+
resourceNames: ['simple.pdf', 'testavatar.jpg']
107102
})
108103
// And "Alice" downloads the following resources using the sidebar panel
109104
// | resource | type |
@@ -174,10 +169,10 @@ test.describe('internal link share', () => {
174169
// When "Alice" uploads the following resources via drag-n-drop
175170
// | resource |
176171
// | Folder,With,Comma |
177-
await ui.userUploadsResourceViaDragNDrop({
172+
await ui.userUploadsResourcesViaDragNDrop({
178173
world,
179174
stepUser: 'Alice',
180-
resource: 'Folder,With,Comma'
175+
resourceNames: ['Folder,With,Comma']
181176
})
182177
// And "Alice" opens folder "Folder,With,Comma"
183178
await ui.userOpensResource({

0 commit comments

Comments
 (0)