Skip to content

Commit ed3ac73

Browse files
authored
Playwright Workflow adjusted (#435)
1 parent 66f5b9d commit ed3ac73

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

build/translations.json

+1-1
Large diffs are not rendered by default.

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"test": "vendor/bin/phpunit",
3737
"coverage": "@php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-html tests/coverage",
3838
"phpstan": "vendor/bin/phpstan analyze",
39-
"playwright": "npx playwright test",
4039
"php74": "phpcs -p ./*.php includes/ --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 7.4",
4140
"php81": "phpcs -p ./*.php includes/ --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.1",
4241
"php82": "phpcs -p ./*.php includes/ --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.2",
@@ -46,15 +45,16 @@
4645
"diagram:class": "vendor/bin/php-class-diagram --php8 includes > diagrams/msls-class.puml",
4746
"diagram:package": "vendor/bin/php-class-diagram --package-diagram --php8 includes > diagrams/msls-package.puml",
4847
"git-release": "bin/git-release.sh",
48+
"playwright": [
49+
"npx playwright install --with-deps",
50+
"npx playwright test"
51+
],
4952
"build": [
5053
"@prepare",
5154
"@flags-png",
5255
"@flags-svg",
5356
"npm ci",
5457
"npm run build",
55-
"npm run uglify",
56-
"npm run less",
57-
"npm run build-msls-block",
5858
"@git-release"
5959
],
6060
"githooks": [

css/flags.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,13 @@
3939
'dzo' => 'flag-icon-bt',
4040
'el' => 'flag-icon-gr',
4141
'en_ZA' => 'flag-icon-za',
42+
'en_GB' => 'flag-icon-gb',
4243
'en_CA' => 'flag-icon-ca',
4344
'en_AU' => 'flag-icon-au',
4445
'en_NZ' => 'flag-icon-nz',
45-
'en_GB' => 'flag-icon-gb',
4646
'eo' => 'flag-icon-eu',
4747
'es_CR' => 'flag-icon-cr',
4848
'es_PE' => 'flag-icon-pe',
49-
'es_AR' => 'flag-icon-ar',
50-
'es_CL' => 'flag-icon-cl',
51-
'es_CO' => 'flag-icon-co',
5249
'es_MX' => 'flag-icon-mx',
5350
'es_ES' => 'flag-icon-es',
5451
'es_VE' => 'flag-icon-ve',
@@ -57,14 +54,17 @@
5754
'es_UY' => 'flag-icon-uy',
5855
'es_PR' => 'flag-icon-pr',
5956
'es_GT' => 'flag-icon-gt',
57+
'es_AR' => 'flag-icon-ar',
58+
'es_CL' => 'flag-icon-cl',
59+
'es_CO' => 'flag-icon-co',
6060
'et' => 'flag-icon-ee',
6161
'eu' => 'flag-icon-es',
6262
'fa_IR' => 'flag-icon-ir',
6363
'fa_AF' => 'flag-icon-af',
6464
'fi' => 'flag-icon-fi',
6565
'fr_CA' => 'flag-icon-ca',
66-
'fr_BE' => 'flag-icon-be',
6766
'fr_FR' => 'flag-icon-fr',
67+
'fr_BE' => 'flag-icon-be',
6868
'fur' => 'flag-icon-it',
6969
'gd' => 'flag-icon-gb-sct',
7070
'gl_ES' => 'flag-icon-es',
@@ -133,8 +133,8 @@
133133
'ur' => 'flag-icon-pk',
134134
'uz_UZ' => 'flag-icon-uz',
135135
'vi' => 'flag-icon-vn',
136-
'zh_CN' => 'flag-icon-cn',
137136
'zh_TW' => 'flag-icon-tw',
137+
'zh_CN' => 'flag-icon-cn',
138138
'zh_HK' => 'flag-icon-hk',
139139
);
140140

flags/flags.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,13 @@
3939
'dzo' => 'bt.png',
4040
'el' => 'gr.png',
4141
'en_ZA' => 'za.png',
42+
'en_GB' => 'gb.png',
4243
'en_CA' => 'ca.png',
4344
'en_AU' => 'au.png',
4445
'en_NZ' => 'nz.png',
45-
'en_GB' => 'gb.png',
4646
'eo' => 'europeanunion.png',
4747
'es_CR' => 'cr.png',
4848
'es_PE' => 'pe.png',
49-
'es_AR' => 'ar.png',
50-
'es_CL' => 'cl.png',
51-
'es_CO' => 'co.png',
5249
'es_MX' => 'mx.png',
5350
'es_ES' => 'es.png',
5451
'es_VE' => 've.png',
@@ -57,14 +54,17 @@
5754
'es_UY' => 'uy.png',
5855
'es_PR' => 'pr.png',
5956
'es_GT' => 'gt.png',
57+
'es_AR' => 'ar.png',
58+
'es_CL' => 'cl.png',
59+
'es_CO' => 'co.png',
6060
'et' => 'ee.png',
6161
'eu' => 'es.png',
6262
'fa_IR' => 'ir.png',
6363
'fa_AF' => 'af.png',
6464
'fi' => 'fi.png',
6565
'fr_CA' => 'ca.png',
66-
'fr_BE' => 'be.png',
6766
'fr_FR' => 'fr.png',
67+
'fr_BE' => 'be.png',
6868
'fur' => 'it.png',
6969
'gd' => 'scotland.png',
7070
'gl_ES' => 'es.png',
@@ -133,8 +133,8 @@
133133
'ur' => 'pk.png',
134134
'uz_UZ' => 'uz.png',
135135
'vi' => 'vn.png',
136-
'zh_CN' => 'cn.png',
137136
'zh_TW' => 'tw.png',
137+
'zh_CN' => 'cn.png',
138138
'zh_HK' => 'hk.png',
139139
);
140140

0 commit comments

Comments
 (0)