Giter VIP home page Giter VIP logo

protractorpageobjects's People

Contributors

droogans 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

protractorpageobjects's Issues

CSS Selector tutorial

It's advertised, but not implemented

Include:

  • lots of screenshots
  • Chrome's cmd+option+i interface, and the console that's shown by pressing esc.
  • common types of selectors (., #, =^[], =$[], etc.)
  • other resources

Finally, switch all this.find.by.css to $, and this.find.all.by.css to $$.

Add a "highlights" chapter.

Nobody reads books. :/

Feedback is that the master branch looks nice, but chapters are not being read.

Put highlights front and center, condense everything into how, not so much why.

Get an JUnit Xml Report out of the test?

Hello,
first of all thank you very much Droogans for your great tutorial on page objects. You've done a GREAT work !

Question 1: Is is possible to have an JUnit/XUnit xml file generated at the end of each Suite?
Question 2: How to change the config protractor.conf.js to generate it?

Something like this:
junit-report

I found some info here:
Mocha XUnit Reporter
https://github.com/visionmedia/mocha/blob/master/lib/reporters/xunit.js

npm install xunit-file
https://www.npmjs.org/package/xunit-file

Continuous Integration with Jenkins and Node.js and Mocha XUnit
https://blog.dylants.com/2013/06/21/jenkins-and-node/

best regards
damaniente

branch chapter 6 is missing :)

You are doing a great job! There is definitely a big gap on doing page objects well for Protractor.
Your guide is the best I have found!

brew install selenium

Don't use the google code repo to grab selenium if brew can do it for you, and create a nice symlinked binary to launch it in a more condensed fashion.

Redo all tables.

Explain how tables are containers for rows and columns, and only expose the most useful bits found in the underlying table/rows.js and table/columns.js files.

No dangling underscores

Remove all python-ish _ prefixes to private page methods and functions.

Prefer instead to give them "obviously private" names.

Lazy page object function evaluation.

Don't put page-level custom object methods as plain properties, these evaluate greedily and make things slow on invocation.

Everything should be a function.

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.