mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-16 06:11:43 -08:00
16 lines
748 B
Gherkin
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')"
|