test: comprehensive test suites and quality gates pass across backend, storefront and admin
Deploy Canina / deploy (push) Successful in 4m1s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s

- Backend (NestJS): 82 suites, 641 tests passing; 0 ESLint errors; 0 tsc errors. Hardened SSL cert/key matching, SSRF IP pinning, and eBank validation.
- Admin Panel (Vite/React): 48 suites, 300 tests passing; 0 ESLint errors; 0 tsc errors. Full coverage across all pages and settings.
- Storefront (Next.js): 62 suites, 368 tests passing; 0 ESLint errors; 0 tsc errors.
- Fixed unmount lifecycle guards, promise error handling, and component edge cases.
This commit is contained in:
devops committed 2026-10-13 16:01:00 +00:00
1 parent 1e73715169
commit ddbf1ca026
439 files changed
+32911 -6107

No files matched your search

+11 -11
View File
@@ -1,26 +1,26 @@
import { Controller, Get, Param, NotFoundException } from '@nestjs/common';
import { SeoService } from './seo.service';
import { ApiTags, ApiOperation } from '@nestjs/swagger';
import { Controller, Get, Param, NotFoundException } from "@nestjs/common";
import { SeoService } from "./seo.service";
import { ApiTags, ApiOperation } from "@nestjs/swagger";
@ApiTags('SEO & Metadata')
@Controller('seo')
@ApiTags("SEO & Metadata")
@Controller("seo")
export class SeoController {
constructor(private readonly seoService: SeoService) {}
@Get('sitemap')
@ApiOperation({ summary: 'دریافت لیست لینک‌های نقشه سایت (Sitemap)' })
@Get("sitemap")
@ApiOperation({ summary: "دریافت لیست لینک‌های نقشه سایت (Sitemap)" })
getSitemap() {
return this.seoService.getSitemapUrls();
}
@Get('product-schema/:idOrSlug')
@Get("product-schema/:idOrSlug")
@ApiOperation({
summary: 'دریافت متادیتای ساختاریافته Schema.org JSON-LD محصول',
summary: "دریافت متادیتای ساختاریافته Schema.org JSON-LD محصول",
})
async getProductSchema(@Param('idOrSlug') idOrSlug: string) {
async getProductSchema(@Param("idOrSlug") idOrSlug: string) {
const schema = await this.seoService.getProductSchema(idOrSlug);
if (!schema) {
throw new NotFoundException('Product for schema not found');
throw new NotFoundException("Product for schema not found");
}
return schema;
}