3.2.1 • Published 3 months ago
@inrupt/internal-playwright-helpers v3.2.1
@inrupt/internal-playwright-helpers
This package contains utilities to help setup automated testing environments.
Installation
npm install --save-dev @inrupt/internal-playwright-helpers
Usage:
Add the function import as needed.
import { loginAndAllow } from "@inrupt/internal-playwright-helpers"
Then add in calls to the functions such as loginAndAllow
to your test files.
For these helpers to work, your app should use predefined testids defined in
@@inrupt/internal-playwright-testids
. The following testids are expected in the
exposed helpers:
- The OpenID provider should be specified in a text input identified with
TESTID_OPENID_PROVIDER_INPUT
. - The login should be initiated by clicking a button identified with
TESTID_LOGIN_BUTTON
. - When the login process is complete, an element identified with
TESTID_SESSION_STATUS
should appear in the DOM. - When an error occurs, an element identified with
TESTID_ERROR_MESSAGE
should appear in the DOM.
3.2.1
3 months ago
3.2.0
3 months ago
3.1.0
3 months ago
3.0.2
5 months ago
3.0.1
5 months ago
3.0.0
5 months ago
2.6.0
5 months ago
2.3.0
8 months ago
2.1.2
9 months ago
2.2.0
8 months ago
2.1.1
10 months ago
2.4.1
8 months ago
2.4.0
8 months ago
2.1.3
9 months ago
2.0.4
10 months ago
2.1.0
10 months ago
2.0.3
11 months ago
2.0.2
11 months ago
2.0.1
11 months ago
1.8.0
12 months ago
1.7.0
1 year ago
2.0.0
11 months ago
1.6.2
1 year ago
1.6.1
1 year ago
1.6.0
1 year ago
1.5.5
1 year ago
1.5.4
1 year ago
1.5.3
1 year ago
1.5.2
1 year ago