How to use @hetznercloud/protractor-test-helper - 10 common examples

To help you get started, we’ve selected a few @hetznercloud/protractor-test-helper examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hetznercloud / protractor-test-helper / test / async / waits.e2e-spec.ts View on Github external
it('waitToBeDisplayed should wait for an element to be displayed', async () => {
        await waitToBeDisplayed(waitsPage.waitToBeDisplayed);

        await expect(waitsPage.waitToBeDisplayed.isDisplayed()).toBe(true);
    });
github hetznercloud / protractor-test-helper / test / async / actions.e2e-spec.ts View on Github external
it('click should click on the button', async () => {
        await click(actionsPage.clickBtn);
        await waitToBeDisplayed(actionsPage.clickResult);

        await expect(actionsPage.clickResult.isDisplayed()).toBe(true);
    });
github hetznercloud / protractor-test-helper / test / flow / actions.e2e-spec.ts View on Github external
it('hover should hover on the button', () => {
        hover(actionsPage.hoverBtn);
        waitToBeDisplayed(actionsPage.hoverResult);

        expect(actionsPage.hoverResult.isDisplayed()).toBe(true);
    });
github hetznercloud / protractor-test-helper / test / flow / waits.e2e-spec.ts View on Github external
it('waitToBeDisplayed should wait for an element to be displayed', () => {
        waitToBeDisplayed(waitsPage.waitToBeDisplayed);

        expect(waitsPage.waitToBeDisplayed.isDisplayed()).toBe(true);
    });
github hetznercloud / protractor-test-helper / test / async / actions.e2e-spec.ts View on Github external
it('hover should hover on the button', async () => {
        await hover(actionsPage.hoverBtn);
        await waitToBeDisplayed(actionsPage.hoverResult);

        await expect(actionsPage.hoverResult.isDisplayed()).toBe(true);
    });
github hetznercloud / protractor-test-helper / test / flow / matcher.e2e-spec.ts View on Github external
it('should expect element to be displayed', () => {
            waitToBeDisplayed(waitsPage.waitToBeDisplayed);
            expect(waitsPage.waitToBeDisplayed).toBeDisplayed();
        });
    });
github hetznercloud / protractor-test-helper / test / async / matcher.e2e-spec.ts View on Github external
it('should expect element to be present when it is displayed', async () => {
            await waitToBeDisplayed(waitsPage.waitToBeDisplayed);
            await expect(waitsPage.waitToBeDisplayed).toBePresent();
        });
github hetznercloud / protractor-test-helper / test / flow / actions.e2e-spec.ts View on Github external
it('click should click on the button', () => {
        click(actionsPage.clickBtn);
        waitToBeDisplayed(actionsPage.clickResult);

        expect(actionsPage.clickResult.isDisplayed()).toBe(true);
    });
github hetznercloud / protractor-test-helper / test / async / matcher.e2e-spec.ts View on Github external
it('should expect element not to be displayed', async () => {
            await waitToBeNotDisplayed(waitsPage.waitToBeNotDisplayed);
            await expect(waitsPage.waitToBeNotDisplayed).not.toBeDisplayed();
        });
github hetznercloud / protractor-test-helper / test / async / waits.e2e-spec.ts View on Github external
it('waitToBeNotDisplayed should wait for an element not to be displayed', async () => {
            await waitToBeNotDisplayed(waitsPage.waitToBeNotDisplayed);

            await expect(waitsPage.waitToBeNotDisplayed.isDisplayed()).toBe(
                false
            );
        });
    });

@hetznercloud/protractor-test-helper

[![npm version](https://badge.fury.io/js/%40hetznercloud%2Fprotractor-test-helper.svg)](https://www.npmjs.com/package/@hetznercloud/protractor-test-helper) [![Build Status](https://travis-ci.com/hetznercloud/protractor-test-helper.svg?branch=master)](http

MIT
Latest version published 4 years ago

Package Health Score

42 / 100
Full package analysis