mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 05:36:19 +08:00
13 lines
345 B
TypeScript
13 lines
345 B
TypeScript
import { Given } from '@cucumber/cucumber'
|
|
import { expect } from '@playwright/test'
|
|
import type { DifyWorld } from '../../support/world'
|
|
|
|
Given(
|
|
'the last authentication bootstrap came from a fresh install',
|
|
async function (this: DifyWorld) {
|
|
const session = await this.getAuthSession()
|
|
|
|
expect(session.mode).toBe('install')
|
|
},
|
|
)
|