Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions playwright/support/fixtures/random-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import { test as base } from '@playwright/test'
import { createRandomUser, login } from '../utils/session'
import { createRandomUser, login } from '@nextcloud/e2e-test-server/playwright'

/**
* This test fixture ensures a new random user is created and used for the test (current page)
Expand All @@ -17,8 +17,8 @@ export const test = base.extend({
baseURL,
})

const uid = await createRandomUser()
await login(page.request, uid, uid)
const user = await createRandomUser()
await login(page.request, user)

await use(page)
await page.close()
Expand Down
55 changes: 0 additions & 55 deletions playwright/support/utils/session.ts

This file was deleted.

Loading