2.1.0 • Published 2 years ago

@tepez/jasmine-protractor-matchers v2.1.0

Weekly downloads
7
License
ISC
Repository
github
Last release
2 years ago

jasmine-protractor-matchers

Custom jasmine3 async matchers for writing cleaner e2e tests with protractor

npm version Build Status

Install

npm install --save @tepez/jasmine-protractor-matchers

Usage

Javascript

const matchers = require('@tepez/jasmine-protractor-matchers');

beforeEach(() => {
    jasmine.addAsyncMatchers(matchers);
});

Typescript

import {matchers} from '@tepez/jasmine-protractor-matchers'

beforeEach(() => {
    jasmine.addAsyncMatchers(matchers);
});

it('should be displayed', async () => {
   await expectAsync($('#element')).toBeDisplayed(); 
});
2.1.0

2 years ago

1.0.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

0.2.3

3 years ago

0.2.2

4 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

6 years ago

0.0.0

6 years ago