@enact/ui-test-utils 4.0.1 → 4.0.3
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/.github/workflows/ci-branch.yml +24 -0
- package/.github/workflows/ci-pull-request.yml +19 -0
- package/.github/workflows/ci-reusable.yml +38 -0
- package/.github/workflows/update-copyright-years.yml +23 -0
- package/CHANGELOG.md +10 -0
- package/README.md +4 -4
- package/npm-shrinkwrap.json +2463 -2321
- package/package.json +20 -21
- package/screenshot/utils/confHelpers.js +42 -29
- package/src/build-apps.js +5 -3
- package/utils/Page.js +1 -1
- package/.travis.yml +0 -13
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- develop
|
|
7
|
+
- master
|
|
8
|
+
pull_request:
|
|
9
|
+
types: [opened, synchronize, reopened]
|
|
10
|
+
workflow_dispatch:
|
|
11
|
+
|
|
12
|
+
permissions:
|
|
13
|
+
contents: read
|
|
14
|
+
|
|
15
|
+
concurrency:
|
|
16
|
+
group: ci-branch-${{ github.event.pull_request.number || github.ref }}
|
|
17
|
+
cancel-in-progress: true
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
branch:
|
|
21
|
+
uses: ./.github/workflows/ci-reusable.yml
|
|
22
|
+
with:
|
|
23
|
+
checkout-ref: ${{ github.event.pull_request.head.sha || github.sha }}
|
|
24
|
+
secrets: inherit
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
types: [opened, synchronize, reopened]
|
|
6
|
+
|
|
7
|
+
permissions:
|
|
8
|
+
contents: read
|
|
9
|
+
|
|
10
|
+
concurrency:
|
|
11
|
+
group: ci-pr-${{ github.event.pull_request.number }}
|
|
12
|
+
cancel-in-progress: true
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
pull-request:
|
|
16
|
+
uses: ./.github/workflows/ci-reusable.yml
|
|
17
|
+
with:
|
|
18
|
+
checkout-ref: ''
|
|
19
|
+
secrets: inherit
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
name: CI Pipeline
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_call:
|
|
5
|
+
inputs:
|
|
6
|
+
checkout-ref:
|
|
7
|
+
description: 'Git ref to checkout (empty for default merge commit)'
|
|
8
|
+
type: string
|
|
9
|
+
required: false
|
|
10
|
+
default: ''
|
|
11
|
+
|
|
12
|
+
permissions:
|
|
13
|
+
contents: read
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
test:
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
|
|
19
|
+
strategy:
|
|
20
|
+
matrix:
|
|
21
|
+
node-version: ['node']
|
|
22
|
+
|
|
23
|
+
steps:
|
|
24
|
+
- name: Checkout code
|
|
25
|
+
uses: actions/checkout@v4
|
|
26
|
+
with:
|
|
27
|
+
ref: ${{ inputs.checkout-ref || github.ref }}
|
|
28
|
+
|
|
29
|
+
- name: Setup Node.js
|
|
30
|
+
uses: actions/setup-node@v4
|
|
31
|
+
with:
|
|
32
|
+
node-version: ${{ matrix.node-version }}
|
|
33
|
+
|
|
34
|
+
- name: Install project dependencies
|
|
35
|
+
run: npm install
|
|
36
|
+
|
|
37
|
+
- name: Run ESLint
|
|
38
|
+
run: npm run lint -- --report-unused-disable-directives --max-warnings 0
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
name: Update copyright year(s) in license file
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
schedule:
|
|
5
|
+
- cron: "20 8 12 1 *"
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
run:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v2
|
|
12
|
+
with:
|
|
13
|
+
ref: develop
|
|
14
|
+
fetch-depth: 0
|
|
15
|
+
- uses: FantasticFiasco/action-update-license-year@v2
|
|
16
|
+
with:
|
|
17
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
18
|
+
path: README.md
|
|
19
|
+
branchName: license/{{currentYear}}
|
|
20
|
+
commitTitle: update license
|
|
21
|
+
commitBody: Let's keep legal happy.
|
|
22
|
+
prTitle: Update copyright years in README.md file
|
|
23
|
+
prBody: It's that time of the year, let's update the license.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [4.0.3] (June 23, 2026)
|
|
4
|
+
|
|
5
|
+
* Updated dependencies.
|
|
6
|
+
|
|
7
|
+
## [4.0.2] (April 7, 2026)
|
|
8
|
+
|
|
9
|
+
* Fixed ss-tests to add entry in failedTests.html only if all retries of a test failed.
|
|
10
|
+
* Updated dependencies versions to the latest.
|
|
11
|
+
* Required Node.js version "^20.19.0 || ^22.0.0 || >=24.0.0"
|
|
12
|
+
|
|
3
13
|
## [4.0.1] (January 13, 2026)
|
|
4
14
|
|
|
5
15
|
* Updated Chrome driver version to 132 for screenshot tests.
|
package/README.md
CHANGED
|
@@ -245,22 +245,22 @@ http://localhost:3000/VirtualList-View/
|
|
|
245
245
|
|
|
246
246
|
### Viewing screenshot tests in the browser
|
|
247
247
|
|
|
248
|
-
Navigate to a URL using the component name and test case number. Change '
|
|
248
|
+
Navigate to a URL using the component name and test case number. Change 'Limestone-View' to the name of the view appropriate for your library.
|
|
249
249
|
|
|
250
250
|
An index page will be served when no component is specified. Select a test from the list to open it.
|
|
251
251
|
|
|
252
252
|
```none
|
|
253
|
-
localhost:3000/
|
|
253
|
+
localhost:3000/Limestone-View/
|
|
254
254
|
```
|
|
255
255
|
|
|
256
256
|
You can go directly to a test by specifying the component name and test ID number:
|
|
257
257
|
|
|
258
258
|
```none
|
|
259
|
-
localhost:3000/
|
|
259
|
+
localhost:3000/Limestone-View/?component=<component name>&testId=<number of the test>
|
|
260
260
|
```
|
|
261
261
|
|
|
262
262
|
Example:
|
|
263
263
|
|
|
264
264
|
```none
|
|
265
|
-
localhost:3000/
|
|
265
|
+
localhost:3000/Limestone-View/?component=RadioItem&testId=10
|
|
266
266
|
```
|