Skip to content

Commit

Permalink
fixup! fixup! added e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
eric2788 committed Oct 18, 2024
1 parent cc35449 commit 3a2d9dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/content.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ test('測試 强制啓動 模式', { tag: '@scoped' }, async ({ context, optionP
await page.reload()
logger.info('測試主元素是否存在...')
await expect(content.getByText('功能菜单')).toBeVisible()
await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
await expect(content.locator('section#bjf-feature-jimaku')).toBeAttached()
await expect(content.locator('section#bjf-feature-superchat')).toBeAttached()

})

0 comments on commit 3a2d9dd

Please sign in to comment.