Become a member
Sign in
Eugene Stativka
Eugene Stativka

Eugene Stativka

338 Following
7 Followers
·
  • Profile
  • Claps
  • Highlights
  • Responses

Highlighted by Eugene Stativka

See more

From Dynamic XHR responses recording & stubbing with Cypress by Paul Gascou-Vaillancourt

You might be tempted to write XHR responses in Cypress’ server onResponse() hook, but this would result in Cypress returning an error: “Cypress detected that you returned a promise from a command while also invoking one or more cy commands in that promise.”
Writing the data in the
after() hook circumvents this problem (and is probably a better option anyway
).

From Dynamic XHR responses recording & stubbing with Cypress by Paul Gascou-Vaillancourt

…riting the data in the after() hook circumvents this problem (and is probably a better option anyway)…riting the data in the after() hook circumvents this problem (and is probably a better option anyway).

Claps from Eugene Stativka

See more

🚀 Introducing Transloco: Angular Internationalization Done Right

Netanel Basal

Pausable Observables in RxJS

Kostia Palchyk

Power of RxJS when using exponential backoff

Alex Okrushko