Antony Fuentes Artavia

Results comments of Antony Fuentes Artavia

Thanks Steve, I tried removing the conflicting relations using "del" and/or "drop_rel", but after that the file still resulted in a damaged state. So instead I decided to do a...

You were right about that too (Not surprisingly of course!). The slide parts were still being saved and here is the small code portion that I was missing: ```python for...

@scanny looks like we are good to close this issue. :-) Once again, thanks for being so responsive and kind!

> https://www.npmjs.com/package/xhr-mock > > for those who need to xhr ^ this was a pretty good alternative. Created custom commands to use this for routes & custom gql server @arkhamRejek...

The following solution worked for me (tested using XHR): **commands.js** ```js Cypress.Commands.add('mockGraphQl', (operationName, fixture, method = 'POST') => { let jsonData; cy.fixture(fixture).then((fixture) => { jsonData = fixture; }); function patchXhrUsing(makeResponse)...

With cypress 5.1, using the new **route2** command it is very simple to mock a GraphQL request, for example: ``` cy.route2('/graphql', (req) => { if(req.body.includes('operationName')){ req.reply({ fixture: 'mockData.json'}); } });...

> @antonyfuentes how would you wait for a request to finish instead of mocking it? It's pretty easy with REST right now, harder with gql Hey @yagudaev This is what...