flakiness 0.0.0 → 0.147.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,45 @@
1
+ Fair Source License, version 0.9
2
+
3
+ Copyright (C) 2023 Degu Labs, Inc.
4
+
5
+ Licensor: Degu Labs, Inc
6
+
7
+ Software: @flakiness/playwright-report
8
+
9
+ Use Limitation: 100 users. Executing the software, modifying the code, or
10
+ accessing a running copy of the software constitutes “use.”
11
+
12
+ License Grant. Licensor hereby grants to each recipient of the
13
+ Software ("you") a non-exclusive, non-transferable, royalty-free and
14
+ fully-paid-up license, under all of the Licensor’s copyright and
15
+ patent rights, to use, copy, distribute, prepare derivative works of,
16
+ publicly perform and display the Software, subject to the Use
17
+ Limitation and the conditions set forth below.
18
+
19
+ Use Limitation. The license granted above allows use by up to the
20
+ number of users per entity set forth above (the "Use Limitation"). For
21
+ determining the number of users, "you" includes all affiliates,
22
+ meaning legal entities controlling, controlled by, or under common
23
+ control with you. If you exceed the Use Limitation, your use is
24
+ subject to payment of Licensor’s then-current list price for licenses.
25
+
26
+ Conditions. Redistribution in source code or other forms must include
27
+ a copy of this license document to be provided in a reasonable
28
+ manner. Any redistribution of the Software is only allowed subject to
29
+ this license.
30
+
31
+ Trademarks. This license does not grant you any right in the
32
+ trademarks, service marks, brand names or logos of Licensor.
33
+
34
+ DISCLAIMER. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OR
35
+ CONDITION, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES
36
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
37
+ NONINFRINGEMENT. LICENSORS HEREBY DISCLAIM ALL LIABILITY, WHETHER IN
38
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
39
+ CONNECTION WITH THE SOFTWARE.
40
+
41
+ Termination. If you violate the terms of this license, your rights
42
+ will terminate automatically and will not be reinstated without the
43
+ prior written consent of Licensor. Any such termination will not
44
+ affect the right of others who may have received copies of the
45
+ Software from you.
package/README.md ADDED
@@ -0,0 +1,30 @@
1
+ # Flakiness SDK
2
+
3
+ The package consists of:
4
+ - A CLI to interact with flakiness.io service
5
+ - A set of reporters for popular test runners to generate & upload Flakiness
6
+ report.
7
+
8
+ ## Getting Started
9
+
10
+ To start using reporter with Playwright Test:
11
+
12
+ 1. Install this package:
13
+ ```bash
14
+ npm i @flakiness/sdk@latest
15
+ ```
16
+ 2. Add flakiness.io to the `playwright.config.ts` file:
17
+ ```ts
18
+ import { defineConfig } from '@playwright/test';
19
+
20
+ export default defineConfig({
21
+ reporter: [
22
+ ['list'],
23
+ ['@flakiness/sdk/playwright-test', {
24
+ endpoint: 'https://flakiness.io', // custom endpoint
25
+ token: '...', // Flakiness access token
26
+ collectBrowserVersion: true, // collect browser versions
27
+ }]
28
+ ],
29
+ });
30
+ ```