Skip to content

Commit f4bc2cb

Browse files
committed
e2e fixes
1 parent 56d7d8e commit f4bc2cb

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

e2e/dogfooding.spec.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,8 @@ It is used to test the following features:
121121

122122
// --- Add local .env file override ---
123123
await page.locator('button', { hasText: 'Add Local File' }).click()
124-
await page.locator('input[placeholder="Relative path (e.g. .env.local)"]').fill('.env')
125-
await page
126-
.locator('textarea[placeholder="File content (secret)"]')
127-
.fill('STACK_CRAFT_ENCRYPTION_KEY=e2e-dogfooding-test-key')
124+
await page.locator('input[placeholder="Relative path (e.g. .env)"]').fill('.env')
125+
await page.locator('textarea[placeholder="File content"]').fill('STACK_CRAFT_ENCRYPTION_KEY=e2e-dogfooding-test-key')
128126

129127
// Add StackCraft GitHub repository inline
130128
await page.locator('button', { hasText: 'New' }).click()

e2e/smoke.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ test.describe.serial('App Flow', () => {
4848
await expect(page.locator('shade-services-list')).toBeVisible()
4949

5050
// Scope all sidebar interactions to the correct stack
51-
const stackSidebar = page.locator('shade-sidebar-stack-category').filter({ hasText: displayName })
51+
const stackSidebar = page.locator('shade-accordion-item').filter({ hasText: displayName })
5252

5353
// Navigate to repositories list
5454
await stackSidebar.locator('shade-sidebar-stack-link a', { hasText: 'Repositories' }).click()

0 commit comments

Comments
 (0)