Skip to content

CodeceptJS 4.x - Autocompletion is not available for pages, fragments, etc. #5363

@nlespiaucq

Description

@nlespiaucq

🚩 [4.0.1-beta.23]

Using page objects in other location (for example, from a page) doesn't offer the autocompletion.
Currently, there is an error message: Property 'seeNumberOfTodos' does not exist on type 'typeof import("/Users/n.lespiaucq/Documents/xxx/examples-ts/todomvc-tests/pages/todos.page")'.ts(2339)

Image

I noticed adding the defaulton the step.d.ts file solves the issue:
Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions