Skip to content

Commit

Permalink
test: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nvlang committed Jun 19, 2024
1 parent 9226445 commit 90dca92
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 59 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ name: Lint code base
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions

on:
# push:
# branches: [main, develop]
push:
branches: [main, develop]
pull_request:
branches: [main]

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
pull_request:
branches: [main]

# permissions:
# actions: write
# checks: write
permissions:
actions: write
checks: write

jobs:
test:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/vitest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Unit Tests (Vitest)
on:
push:
branches: [main]
# push:
# branches: [main]
pull_request:
branches: [main]

Expand Down
104 changes: 52 additions & 52 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,59 +43,59 @@ export const config = defineConfig({
baseURL: 'http://localhost:3033',
},
timeout: 300e3, // 5 minutes
retries: 3,
},
{
name: 'firefox',
use: {
...devices['Desktop Firefox'],
baseURL: 'http://localhost:3033',
},
timeout: 300e3, // 5 minutes
retries: 3,
},
{
name: 'webkit',
use: {
...devices['Desktop Safari'],
baseURL: 'http://localhost:3033',
},
timeout: 300e3, // 5 minutes
retries: 3,
},
{
name: 'iPhone SE',
use: {
...devices['iPhone SE'],
colorScheme: 'dark',
baseURL: 'http://localhost:3033',
browserName: 'webkit',
},
timeout: 300e3, // 5 minutes
retries: 3,
},
{
name: 'iPad Mini',
use: {
...devices['iPad Mini'],
colorScheme: 'light',
baseURL: 'http://localhost:3033',
browserName: 'firefox',
},
timeout: 300e3, // 5 minutes
retries: 3,
},
{
name: 'Galaxy S9+',
use: {
...devices['Galaxy S9+'],
colorScheme: 'no-preference',
baseURL: 'http://localhost:3033',
browserName: 'chromium',
},
timeout: 300e3, // 5 minutes
retries: 3,
// retries: 3,
},
// {
// name: 'firefox',
// use: {
// ...devices['Desktop Firefox'],
// baseURL: 'http://localhost:3033',
// },
// timeout: 300e3, // 5 minutes
// retries: 3,
// },
// {
// name: 'webkit',
// use: {
// ...devices['Desktop Safari'],
// baseURL: 'http://localhost:3033',
// },
// timeout: 300e3, // 5 minutes
// retries: 3,
// },
// {
// name: 'iPhone SE',
// use: {
// ...devices['iPhone SE'],
// colorScheme: 'dark',
// baseURL: 'http://localhost:3033',
// browserName: 'webkit',
// },
// timeout: 300e3, // 5 minutes
// retries: 3,
// },
// {
// name: 'iPad Mini',
// use: {
// ...devices['iPad Mini'],
// colorScheme: 'light',
// baseURL: 'http://localhost:3033',
// browserName: 'firefox',
// },
// timeout: 300e3, // 5 minutes
// retries: 3,
// },
// {
// name: 'Galaxy S9+',
// use: {
// ...devices['Galaxy S9+'],
// colorScheme: 'no-preference',
// baseURL: 'http://localhost:3033',
// browserName: 'chromium',
// },
// timeout: 300e3, // 5 minutes
// retries: 3,
// },
],

/* Run your local dev server before starting the tests */
Expand Down

0 comments on commit 90dca92

Please sign in to comment.