Giter Site home page Giter Site logo

Comments (5)

kensoh avatar kensoh commented on May 21, 2024 1

For CasperJS testing framework if you want to check text for the page body you can consider using this.assertTextExists() - http://docs.casperjs.org/en/latest/modules/tester.html#asserttextexists

from tagui.

thim81 avatar thim81 commented on May 21, 2024

Additional, I use assertSelectorHasText to check if a text exists in the page, perhaps there are better checks for this?

I looked in the CasperJS documentation and Google but none of them gave me a working solution.

from tagui.

kensoh avatar kensoh commented on May 21, 2024

Hi @thim81 yes this is expected. The testing framework for CasperJS is not usable with running on Chrome as CasperJS does not support Chrome at the moment. I added that note in the testing section, and also another note at the start of developers reference with a recommended list of open-source tools that can be used for test automation. This is because there are many established tools that can do a great job at specifically testing. https://github.com/tebelorg/TagUI#testing

from tagui.

kensoh avatar kensoh commented on May 21, 2024

Actually CasperJS testing framework is expressive and really good at that time when it was introduced. My only guess is due to other frameworks such as NightmareJS moving to the more popular Electron browser, and that being centrally developed instead of having a plug-and-play model, over time I don't think the testing framework become the leading approach for developers / test automation engineers.

from tagui.

kensoh avatar kensoh commented on May 21, 2024

This issue can probably be closed, I think I can update the readme to make it clearer. There are some updates to improve readme clarity from a couple of your closed issues as well.

from tagui.

Related Issues (20)

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.