If you use cypress-recurse plugin to ping the page before visiting it, you might need to access the text or json from the fetch's response object. This video shows how to do it. In summary:
recurse(
// use fetch
// yield { respones }
)
// the "recurse" yields whatever
// the first function yields, in our case
// it is the { response } object. Let's grab its text
.its('response')
.invoke('text')
.then(console.log)
Find the full source code at https://github.com/bahmutov/live-exam...
In questa pagina del sito puoi guardare il video online Access The Response Text Yielded By The Plugin cypress-recurse della durata di ore minuti seconda in buona qualità , che l'utente ha caricato gleb bahmutov 05 luglio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 950 volte e gli è piaciuto 20 spettatori. Buona visione!