Git Product home page Git Product logo

cypress-auto-stub-example's People

Contributors

calvinballing avatar dependabot[bot] avatar jhays-nhaschools avatar pinkyjie avatar subtlegradient avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cypress-auto-stub-example's Issues

Adding license

Thank you for your example! Would you mind adding an open source license to this?

Getting Errors While running cy.visit inside before

Hi,
Thank you for your example.

all my spec files run cy.visit("some url") inside before() hook.
but I notice that it's not record the api when i am using cy.visit() inside.

this is what i try to do:
ScreenShot354
the result:
ScreenShot355

how can i record the api that load inside before function?
do i need to remove all my cy.visit() from the before function?

Thanks,
[edit: added some images]

currentTest.fullTitle() always return same title

the full title it's always the same one. (save in file all under the first full title)
you can try to reproduce it by running more then one "it" statements in one spec

it's seems that you need to use for example:
const currentTestFullTitle = (Cypress as any).mocha.getRunner().suite.ctx.currentTest.fullTitle();
and not
(Cypress as any).mocha._mocha.suite.suites[0].tests[0].fullTitle();;
in test-info.ts file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.