Run all playwright tests under dpr=2 (#779)

* Run all playwright tests under dpr=2

* Update test expectations [skip ci]

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Chenlei Hu
2024-09-11 11:33:40 +09:00
committed by GitHub
parent 8ce7b515a3
commit baf0bc8de4
72 changed files with 7 additions and 0 deletions

View File

@@ -40,6 +40,13 @@ export default defineConfig({
grepInvert: /@mobile/ // Run all tests except those tagged with @mobile
},
{
name: 'chromium-2x',
use: { ...devices['Desktop Chrome'], deviceScaleFactor: 2 },
timeout: 15000,
grepInvert: /@mobile/ // Run all tests except those tagged with @mobile
},
// {
// name: 'firefox',
// use: { ...devices['Desktop Firefox'] },