Enable trace for fist failures as well for service ingestion specs (#23912)

This commit is contained in:
Aniket Katkar 2025-10-16 10:58:15 +05:30 committed by GitHub
parent a27d36f41f
commit b6544b6855
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ if (process.env.PLAYWRIGHT_IS_OSS) {
// use the admin user to login
test.use({
storageState: 'playwright/.auth/admin.json',
trace: process.env.PLAYWRIGHT_IS_OSS ? 'off' : 'on-first-retry',
trace: process.env.PLAYWRIGHT_IS_OSS ? 'off' : 'retain-on-failure',
video: process.env.PLAYWRIGHT_IS_OSS ? 'on' : 'off',
});

View File

@ -25,7 +25,7 @@ const mysqlService = new MysqlIngestionClass({
// use the admin user to login
test.use({
storageState: 'playwright/.auth/admin.json',
trace: process.env.PLAYWRIGHT_IS_OSS ? 'off' : 'on-first-retry',
trace: process.env.PLAYWRIGHT_IS_OSS ? 'off' : 'retain-on-failure',
video: process.env.PLAYWRIGHT_IS_OSS ? 'on' : 'off',
});

View File

@ -58,7 +58,7 @@ if (process.env.PLAYWRIGHT_IS_OSS) {
// use the admin user to login
test.use({
storageState: 'playwright/.auth/admin.json',
trace: process.env.PLAYWRIGHT_IS_OSS ? 'off' : 'on-first-retry',
trace: process.env.PLAYWRIGHT_IS_OSS ? 'off' : 'retain-on-failure',
video: process.env.PLAYWRIGHT_IS_OSS ? 'on' : 'off',
});