Mocking Multiple Fixtures #14733
Unanswered
Alex-passiv
asked this question in
Questions and Help
Replies: 1 comment
-
There is not enough data to answer this question. What do you expect to happen? What does happen? Can you show the screenshots or video of the behavior and explain it? Can you create a small reproducible example? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have successfully set up my application to stub with cypress but was wondering can I feed in mock data? I've tried just about every different method in the documentation around using fixtures and reading in data and can't get the data to load in. It's quite a few fixtures and I'm trying to mimic 90% of the functionality of the app with the fixture data. Main goal is to test app functionality without necessarily using the API. It seems the data loads in fine, but it won't show the data and instead tends to break.
Is this even possible to do with cypress? Any ideas would be greatly appreciated.
Please ignore my abysmal formatting, this is from a workbench file where I have been copy and pasting and trying different methods.
"describe('Login using created data from registration', () => {
it('Log in Success', () => {
})
`
Beta Was this translation helpful? Give feedback.
All reactions