-
Notifications
You must be signed in to change notification settings - Fork 0
Redesign right SQL panel: responsive layout, larger query editor, scroll isolation #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,12 @@ | ||
| { | ||
| "dependencies": { | ||
| "chess.js": "^0.10.3" | ||
| }, | ||
| "devDependencies": { | ||
| "@playwright/test": "^1.59.1" | ||
| }, | ||
| "scripts": { | ||
| "test": "playwright test", | ||
| "test:report": "playwright show-report" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| // @ts-check | ||
| const { defineConfig, devices } = require('@playwright/test'); | ||
| const path = require('path'); | ||
|
|
||
| module.exports = defineConfig({ | ||
| testDir: './tests', | ||
| timeout: 30_000, | ||
| retries: 0, | ||
| reporter: [['list'], ['html', { open: 'never' }]], | ||
|
|
||
| use: { | ||
| /* Serve index.html directly via file:// so no server is needed */ | ||
| baseURL: 'file://' + path.resolve(__dirname, 'index.html'), | ||
| headless: true, | ||
| screenshot: 'only-on-failure', | ||
| video: 'off', | ||
| }, | ||
|
Comment on lines
+11
to
+17
|
||
|
|
||
| projects: [ | ||
| /* Desktop sizes */ | ||
| { | ||
| name: 'desktop-1920x1080', | ||
| use: { ...devices['Desktop Chrome'], viewport: { width: 1920, height: 1080 } }, | ||
| }, | ||
| { | ||
| name: 'desktop-1440x900', | ||
| use: { ...devices['Desktop Chrome'], viewport: { width: 1440, height: 900 } }, | ||
| }, | ||
| { | ||
| name: 'desktop-1280x800', | ||
| use: { ...devices['Desktop Chrome'], viewport: { width: 1280, height: 800 } }, | ||
| }, | ||
| /* Tablet sizes */ | ||
| { | ||
| name: 'tablet-1024x768', | ||
| use: { ...devices['Desktop Chrome'], viewport: { width: 1024, height: 768 } }, | ||
| }, | ||
| { | ||
| name: 'tablet-portrait-768x1024', | ||
| use: { ...devices['Desktop Chrome'], viewport: { width: 768, height: 1024 } }, | ||
| }, | ||
| /* Mobile sizes */ | ||
| { | ||
| name: 'mobile-portrait-390x844', | ||
| use: { ...devices['Desktop Chrome'], viewport: { width: 390, height: 844 } }, | ||
| }, | ||
| { | ||
| name: 'mobile-landscape-844x390', | ||
| use: { ...devices['Desktop Chrome'], viewport: { width: 844, height: 390 } }, | ||
| }, | ||
| { | ||
| name: 'mobile-small-360x640', | ||
| use: { ...devices['Desktop Chrome'], viewport: { width: 360, height: 640 } }, | ||
| }, | ||
| /* Ultrawide */ | ||
| { | ||
| name: 'ultrawide-2560x1080', | ||
| use: { ...devices['Desktop Chrome'], viewport: { width: 2560, height: 1080 } }, | ||
| }, | ||
| ], | ||
| }); | ||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,4 @@ | ||||||||||
| { | ||||||||||
| "status": "passed", | ||||||||||
| "failedTests": [] | ||||||||||
| } | ||||||||||
|
Comment on lines
+1
to
+4
|
||||||||||
| { | |
| "status": "passed", | |
| "failedTests": [] | |
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This job uses
npm ci, but the repo ignorespackage-lock.json(see.gitignore:3) and there doesn’t appear to be a lockfile committed.npm ciwill fail without a lockfile. Either commit a lockfile (and stop ignoring it) or switch this step tonpm install(optionally with a pinned Node + caching) so CI can install Playwright reliably.