it is at Extend they were using WebdriverJs a lon...
# e2e-testing
m
it is at Extend they were using WebdriverJs a long time ago they would have to set things up with Postman, and run e2e locally after that... We brought cypress, you can do both automated
b
Ohh okay ,cools, noted
And how is that done ?
m
it depends, but for example you can use the cy.request api to seed the database, then visit a page, then carry on from there
b
Okie cools, alright noted Thanks so much, really appreciate it
Noted
Heyy Murat
Good Morning
Hope you are doing well
Have been playing around with cy.request
Being thats its a Cloudfare access service I am hitting, I saw this: https://developers.cloudflare.com/cloudflare-one/identity/service-tokens/
And tried it, but its still not working for me
Do you think I can use the Stub api command ? To just bypass this UI login altogether ?
m
there is no stubbing with cy.request I have no knowledge on Cloudflare is your issue this ? https://github.com/cypress-io/cypress/issues/17473 maybe hacky workaround? https://stackoverflow.com/questions/72854181/how-to-whitelist-cypress-front-end-testing-in-cloudflare-waf there are no cypress docs about it, but some more material on google