Giter Site home page Giter Site logo

js_xotabu4_protractor's Introduction

js_xotabu4_protractor

This project was generated by generator-modern-protractor


Fundamentals are:

Basically this is standard set of technologies that is proposed by Protractor JS team.

Running

First, do:

npm install

Instalation has postinstall hook, that triggers webdriver-manager update so you should have fresh chromedriver and selenium server downloaded and prepared. If you need to update chromedriver, remove node_modules folder, and do npm install again.

Then, start tests: npm test

By default - dirrect connect to local chrome driver is used.

Typescript

Compilation to typescript is done automatically, on the fly, and should not require any setup. Is is done thru using ts-node module. To learn more check ts-node readme: TS-NODE

Debug

Debugging is already configured for Visual Studio Code - you should be able to put your breakpoints, and start debugging by running Debug protractor.conf.js in debug panel.

This is done by .vscode/launch.json and .vscode/tasks.json. I suggest to keep this files in your repo.

PageObjects and PageFragments (Components)

Additional matchers

This project has additional jasmine matchers for jasmine expect() function - .toAppear() and .toDisappear(). To read more about additional matchers see jasmine-protractor-matchers repo. Unfortunately, this lib does not support TypeScript yet. You should cast your expect() function to :any type to avoid compilation errors.

Reporting

Reporting is done using packages -

Use generated XML with your continious integration system, so you won't need to generate any HTML reports from tests. By default output directory with xml results is test_results/

js_xotabu4_protractor's People

Contributors

algot avatar

Watchers

 avatar

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.