review fix

This commit is contained in:
Ildar Kamalov
2025-02-05 11:51:34 +03:00
parent c3f52d1f84
commit 42846cce08
4 changed files with 8 additions and 44 deletions

8
.gitignore vendored
View File

@@ -33,9 +33,9 @@ AdGuardHome.exe
AdGuardHome.yaml* AdGuardHome.yaml*
coverage.txt coverage.txt
node_modules/ node_modules/
client/test-results/ /client/blob-report/
client/playwright-report/ /client/playwright-report/
client/blob-report/ /client/playwright/.cache/
client/playwright/.cache/ /client/test-results/
!/build/gitkeep !/build/gitkeep

View File

@@ -104,10 +104,10 @@ build-docker: ; $(ENV) "$(SHELL)" ./scripts/make/build-docker.sh
build-release: $(BUILD_RELEASE_DEPS_$(FRONTEND_PREBUILT)) build-release: $(BUILD_RELEASE_DEPS_$(FRONTEND_PREBUILT))
$(ENV) "$(SHELL)" ./scripts/make/build-release.sh $(ENV) "$(SHELL)" ./scripts/make/build-release.sh
js-build: ; $(NPM) $(NPM_FLAGS) run build-prod js-build: ; $(NPM) $(NPM_FLAGS) run build-prod
js-deps: ; $(NPM) $(NPM_INSTALL_FLAGS) ci js-deps: ; $(NPM) $(NPM_INSTALL_FLAGS) ci
js-lint: ; $(NPM) $(NPM_FLAGS) run lint js-lint: ; $(NPM) $(NPM_FLAGS) run lint
js-test: ; $(NPM) $(NPM_FLAGS) run test js-test: ; $(NPM) $(NPM_FLAGS) run test
js-test-e2e: ; npx $(NPM_FLAGS) playwright install --with-deps && $(NPM) $(NPM_FLAGS) run test:e2e js-test-e2e: ; npx $(NPM_FLAGS) playwright install --with-deps && $(NPM) $(NPM_FLAGS) run test:e2e
go-bench: ; $(ENV) "$(SHELL)" ./scripts/make/go-bench.sh go-bench: ; $(ENV) "$(SHELL)" ./scripts/make/go-bench.sh

View File

@@ -199,12 +199,6 @@
mv /tmp/AdGuardHome/AdGuardHome ./AdGuardHome mv /tmp/AdGuardHome/AdGuardHome ./AdGuardHome
chmod +x ./AdGuardHome
ls -l ./AdGuardHome
tree ./build/
make VERBOSE=1 js-deps js-test-e2e make VERBOSE=1 js-deps js-test-e2e
'requirements': 'requirements':
- 'adg-docker': 'true' - 'adg-docker': 'true'

View File

@@ -37,36 +37,6 @@ export default defineConfig({
name: 'chromium', name: 'chromium',
use: { ...devices['Desktop Chrome'] }, use: { ...devices['Desktop Chrome'] },
}, },
// {
// name: 'firefox',
// use: { ...devices['Desktop Firefox'] },
// },
//
// {
// name: 'webkit',
// use: { ...devices['Desktop Safari'] },
// },
/* Test against mobile viewports. */
// {
// name: 'Mobile Chrome',
// use: { ...devices['Pixel 5'] },
// },
// {
// name: 'Mobile Safari',
// use: { ...devices['iPhone 12'] },
// },
/* Test against branded browsers. */
// {
// name: 'Microsoft Edge',
// use: { ...devices['Desktop Edge'], channel: 'msedge' },
// },
// {
// name: 'Google Chrome',
// use: { ...devices['Desktop Chrome'], channel: 'chrome' },
// },
], ],
webServer: { webServer: {