Skip to content

Commit 3ff7128

Browse files
committed
fix for AI slop
1 parent e61c732 commit 3ff7128

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

e2e-tests/fixtures.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ exports.test = base.test.extend({
3636
const safeName = testInfo.titlePath.join(' - ')
3737
.replace(/[^a-zA-Z0-9_\-. ]/g, '_')
3838
.replace(/\s+/g, '_');
39-
const uniqueSuffix = `${testInfo.project.name}-w${testInfo.workerIndex}-r${testInfo.retry}`;
40-
const logFile = path.join(CONSOLE_LOG_DIR, `${safeName}-${uniqueSuffix}.log`);
39+
const logFile = path.join(CONSOLE_LOG_DIR, `${safeName}.log`);
40+
//const uniqueSuffix = `${testInfo.project.name}-w${testInfo.workerIndex}-r${testInfo.retry}`; // not (yet) compatible with artefacts collection step
41+
//const logFile = path.join(CONSOLE_LOG_DIR, `${safeName}-${uniqueSuffix}.log`);
4142
const logContent = consoleLogs.join('\n') + '\n';
4243
fs.writeFileSync(logFile, logContent);
4344

e2e-tests/index.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ test.describe('WLED Index Page', () => {
5252
await page.waitForTimeout(3000);
5353

5454
// Both `#picker` (color wheel) and `#sliders` are defined in index.htm
55-
await expect(page.locator('`#picker`')).toBeAttached();
56-
await expect(page.locator('`#sliders`')).toBeAttached();
55+
await expect(page.locator('#picker')).toBeAttached();
56+
await expect(page.locator('#sliders')).toBeAttached();
5757
});
5858

5959
test('JSON API /json/info should return valid data', async ({ page }) => {

0 commit comments

Comments
 (0)