test(cypress): Move to @nextcloud/cypress

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2022-12-30 15:40:07 +01:00
parent 2be2afba16
commit 5958632534
9 changed files with 59 additions and 82 deletions

View File

@@ -1 +1,4 @@
import { User } from '@nextcloud/cypress'
export const randHash = () => Math.random().toString(36).replace(/[^a-z]+/g, '').slice(0, 10)
export const randUser = () => new User(randHash(), randHash())