TidGi-Desktop/features/defaultWiki.feature
2025-08-27 01:46:29 +08:00

16 lines
748 B
Gherkin

Feature: TidGi Default Wiki
As a user
I want app auto create a default wiki workspace for me
So that I can start using wiki immediately
@wiki
Scenario: Application has default wiki workspace
# Note: tests expect the test wiki parent folder to exist. Run the preparation step before E2E:
# cross-env NODE_ENV=test pnpm dlx tsx scripts/developmentMkdir.ts
Given I cleanup test wiki
When I launch the TidGi application
And I wait for 0.5 seconds
And I wait for the page to load completely
And I should see a "page body" element with selector "body"
And the window title should contain ""
And I should see a "wiki workspace" element with selector "div[data-testid^='workspace-']:has-text('wiki')"