Skip to content
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

Fix: testing playwright codecov changes #171

Merged
merged 4 commits into from
Jan 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"scripts": {
"dev:only": "vite dev --host",
"build:only": "vite build",
"tailwind:watch": "cross-env TAILWIND_MODE=watch cross-env ENV=development postcss src/app.css -o src/lib/assets/styles/tailwind-output.css -w",
"tailwind:build": "cross-env TAILWIND_MODE=build cross-env ENV=production postcss src/app.css -o src/lib/assets/styles/tailwind-output.css",
"tailwind:watch": "cross-env TAILWIND_MODE=watch cross-env NODE_ENV=development postcss src/app.css -o src/lib/assets/styles/tailwind-output.css -w",
"tailwind:build": "cross-env TAILWIND_MODE=build cross-env NODE_ENV=production postcss src/app.css -o src/lib/assets/styles/tailwind-output.css",
"dev": "concurrently \"npm run dev:only\" \"npm run tailwind:watch\"",
"build": "npm run tailwind:build && npm run build:only",
"preview": "vite preview",
Expand Down
5 changes: 4 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ const config: PlaywrightTestConfig = {
reporter: [['json', { outputFile: 'e2eresults.json' }]],
webServer: {
command: 'npm run build && npm run preview',
port: 4173,
url: 'http://localhost:5173/',
timeout: 240000,
reuseExistingServer: !process.env.CI,
},
use: {
baseURL: 'http://localhost:5173/',
},
workers: process.env.CI ? 4 : undefined
}

Expand Down
100 changes: 50 additions & 50 deletions src/lib/assets/styles/tailwind-output.css
Original file line number Diff line number Diff line change
Expand Up @@ -387,10 +387,10 @@ html {

:root {
color-scheme: light;
--pf: 259 94% 41%;
--sf: 314 100% 38%;
--af: 174 60% 41%;
--nf: 219 14% 22%;
--pf: 258.89 94.378% 40.941%;
--sf: 314 100% 37.647%;
--af: 174 60% 40.784%;
--nf: 219 14.085% 22.275%;
--in: 198 93% 60%;
--su: 158 64% 52%;
--wa: 43 96% 56%;
Expand All @@ -409,27 +409,27 @@ html {
--border-btn: 1px;
--tab-border: 1px;
--tab-radius: 0.5rem;
--p: 259 94% 51%;
--p: 258.89 94.378% 51.176%;
--pc: 0 0% 100%;
--s: 314 100% 47%;
--s: 314 100% 47.059%;
--sc: 0 0% 100%;
--a: 174 60% 51%;
--ac: 175 44% 15%;
--n: 219 14% 28%;
--a: 174 60% 50.98%;
--ac: 174.71 43.59% 15.294%;
--n: 219 14.085% 27.843%;
--nc: 0 0% 100%;
--b1: 0 0% 100%;
--b2: 0 0% 95%;
--b3: 180 2% 90%;
--bc: 215 28% 17%;
--b2: 0 0% 94.902%;
--b3: 180 1.9608% 90%;
--bc: 215 27.907% 16.863%;
}

@media (prefers-color-scheme: dark) {

:root {
color-scheme: dark;
--pf: 262 80% 40%;
--sf: 316 70% 40%;
--af: 175 70% 33%;
--pf: 262.35 80.315% 40.157%;
--sf: 315.75 70.196% 40%;
--af: 174.69 70.335% 32.784%;
--in: 198 93% 60%;
--su: 158 64% 52%;
--wa: 43 96% 56%;
Expand All @@ -448,28 +448,28 @@ html {
--border-btn: 1px;
--tab-border: 1px;
--tab-radius: 0.5rem;
--p: 262 80% 50%;
--p: 262.35 80.315% 50.196%;
--pc: 0 0% 100%;
--s: 316 70% 50%;
--s: 315.75 70.196% 50%;
--sc: 0 0% 100%;
--a: 175 70% 41%;
--a: 174.69 70.335% 40.98%;
--ac: 0 0% 100%;
--n: 218 18% 12%;
--nf: 223 17% 8%;
--nc: 220 13% 69%;
--b1: 220 18% 20%;
--b2: 220 17% 17%;
--b3: 219 18% 15%;
--bc: 220 13% 69%;
--n: 218.18 18.033% 11.961%;
--nf: 222.86 17.073% 8.0392%;
--nc: 220 13.376% 69.216%;
--b1: 220 17.647% 20%;
--b2: 220 17.241% 17.059%;
--b3: 218.57 17.949% 15.294%;
--bc: 220 13.376% 69.216%;
}
}

[data-theme=light] {
color-scheme: light;
--pf: 259 94% 41%;
--sf: 314 100% 38%;
--af: 174 60% 41%;
--nf: 219 14% 22%;
--pf: 258.89 94.378% 40.941%;
--sf: 314 100% 37.647%;
--af: 174 60% 40.784%;
--nf: 219 14.085% 22.275%;
--in: 198 93% 60%;
--su: 158 64% 52%;
--wa: 43 96% 56%;
Expand All @@ -488,25 +488,25 @@ html {
--border-btn: 1px;
--tab-border: 1px;
--tab-radius: 0.5rem;
--p: 259 94% 51%;
--p: 258.89 94.378% 51.176%;
--pc: 0 0% 100%;
--s: 314 100% 47%;
--s: 314 100% 47.059%;
--sc: 0 0% 100%;
--a: 174 60% 51%;
--ac: 175 44% 15%;
--n: 219 14% 28%;
--a: 174 60% 50.98%;
--ac: 174.71 43.59% 15.294%;
--n: 219 14.085% 27.843%;
--nc: 0 0% 100%;
--b1: 0 0% 100%;
--b2: 0 0% 95%;
--b3: 180 2% 90%;
--bc: 215 28% 17%;
--b2: 0 0% 94.902%;
--b3: 180 1.9608% 90%;
--bc: 215 27.907% 16.863%;
}

[data-theme=dark] {
color-scheme: dark;
--pf: 262 80% 40%;
--sf: 316 70% 40%;
--af: 175 70% 33%;
--pf: 262.35 80.315% 40.157%;
--sf: 315.75 70.196% 40%;
--af: 174.69 70.335% 32.784%;
--in: 198 93% 60%;
--su: 158 64% 52%;
--wa: 43 96% 56%;
Expand All @@ -525,19 +525,19 @@ html {
--border-btn: 1px;
--tab-border: 1px;
--tab-radius: 0.5rem;
--p: 262 80% 50%;
--p: 262.35 80.315% 50.196%;
--pc: 0 0% 100%;
--s: 316 70% 50%;
--s: 315.75 70.196% 50%;
--sc: 0 0% 100%;
--a: 175 70% 41%;
--a: 174.69 70.335% 40.98%;
--ac: 0 0% 100%;
--n: 218 18% 12%;
--nf: 223 17% 8%;
--nc: 220 13% 69%;
--b1: 220 18% 20%;
--b2: 220 17% 17%;
--b3: 219 18% 15%;
--bc: 220 13% 69%;
--n: 218.18 18.033% 11.961%;
--nf: 222.86 17.073% 8.0392%;
--nc: 220 13.376% 69.216%;
--b1: 220 17.647% 20%;
--b2: 220 17.241% 17.059%;
--b3: 218.57 17.949% 15.294%;
--bc: 220 13.376% 69.216%;
}

* {
Expand Down