Skip to content

Adding screenshots automatically to report #209

Answered by mmisty
Yevhenii-TA asked this question in Q&A
Discussion options

You must be logged in to vote

I see that you are exporting a function from index.ts, which you better not doing sine all the things that are in index.ts will be duplicated if you try to import the function within your test

If you want to use this function better to create separate file and put it there.

also minor thing - e2e.ts file seems to be unused- you usually need to have one e2e.ts or index.ts and refer it from your cypress config file.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Yevhenii-TA
Comment options

@mmisty
Comment options

Answer selected by Yevhenii-TA
@Yevhenii-TA
Comment options

@Yevhenii-TA
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants