diff --git a/package.json b/package.json index f69e283e..3e598460 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "dev": "concurrently \"npm run dev:only\" \"npm run tailwind:watch\"", "build": "npm run tailwind:build && npm run build:only", "preview": "vite preview", - "test": "playwright test", + "test": "npx playwright test", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", "lint": "prettier --plugin-search-dir . --check . && eslint .", diff --git a/playwright.config.ts b/playwright.config.ts index 0da4e6c9..0ce975f6 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -1,10 +1,10 @@ -import type { PlaywrightTestConfig } from '@playwright/test' +import { defineConfig } from '@playwright/test' -const config: PlaywrightTestConfig = { +export default defineConfig({ reporter: [['json', { outputFile: 'e2eresults.json' }]], webServer: { command: 'npm run dev', - url: 'http://localhost:5173/', + port:5173, timeout: 240000, reuseExistingServer: !process.env.CI, }, @@ -12,6 +12,4 @@ const config: PlaywrightTestConfig = { baseURL: 'http://localhost:5173/', }, workers: process.env.CI ? 4 : undefined -} - -export default config +}); diff --git a/src/lib/components/Browse/DrawerAddCategory.svelte b/src/lib/components/Browse/DrawerAddCategory.svelte index 5576a542..be01e2fa 100644 --- a/src/lib/components/Browse/DrawerAddCategory.svelte +++ b/src/lib/components/Browse/DrawerAddCategory.svelte @@ -7,7 +7,8 @@ import gameUrlsJson from '$lib/assets/svg-json/game.json' export let showAddCategory: boolean = true, - categories: any = [] + categories: any = [], + classes: string = '' let maxCategory = 4, tabs = ['Game', 'Web2', 'Web3'], @@ -87,7 +88,7 @@ }) -
+

Select category

diff --git a/src/lib/components/Browse/DrawerCreateChannel.svelte b/src/lib/components/Browse/DrawerCreateChannel.svelte index 12efcf92..9df2f19e 100644 --- a/src/lib/components/Browse/DrawerCreateChannel.svelte +++ b/src/lib/components/Browse/DrawerCreateChannel.svelte @@ -79,6 +79,7 @@