How to use the @hetznercloud/protractor-test-helper.waitToBeNotDisplayed function in @hetznercloud/protractor-test-helper

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 / 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
            );
        });
    });
github hetznercloud / protractor-test-helper / test / flow / waits.e2e-spec.ts View on Github external
it('waitToBeNotDisplayed should wait for an element not to be displayed', () => {
            waitToBeNotDisplayed(waitsPage.waitToBeNotDisplayed);

            expect(waitsPage.waitToBeNotDisplayed.isDisplayed()).toBe(false);
        });
    });
github hetznercloud / protractor-test-helper / test / flow / waits.e2e-spec.ts View on Github external
it('should not throw an error if element is not present and should handle not present the same way as not displayed', () => {
            waitToBeNotDisplayed(waitsPage.waitToBeNotPresent);

            expect(waitsPage.waitToBeNotPresent.isPresent()).toBe(false);
        });
github hetznercloud / protractor-test-helper / test / flow / matcher.e2e-spec.ts View on Github external
it('should expect element not to be present', () => {
            waitToBeNotDisplayed(waitsPage.waitToBeNotPresent);
            expect(waitsPage.waitToBeNotPresent).not.toBePresent();
        });
github hetznercloud / protractor-test-helper / test / async / matcher.e2e-spec.ts View on Github external
it('should expect element not to be present', async () => {
            await waitToBeNotDisplayed(waitsPage.waitToBeNotPresent);
            await expect(waitsPage.waitToBeNotPresent).not.toBePresent();
        });
github hetznercloud / protractor-test-helper / test / async / waits.e2e-spec.ts View on Github external
it('should not throw an error if element is not present and should handle not present the same way as not displayed', async () => {
            await waitToBeNotDisplayed(waitsPage.waitToBeNotPresent);

            await expect(waitsPage.waitToBeNotPresent.isPresent()).toBe(false);
        });
github hetznercloud / protractor-test-helper / test / flow / matcher.e2e-spec.ts View on Github external
it('should expect element not to be displayed', () => {
            waitToBeNotDisplayed(waitsPage.waitToBeNotDisplayed);
            expect(waitsPage.waitToBeNotDisplayed).not.toBeDisplayed();
        });

@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 3 years ago

Package Health Score

42 / 100
Full package analysis