Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
a374318
ci: Improve ESLint v9 config
mauriciolauffer May 23, 2025
7ab3ac1
ci: Bump GH Actions checkout and setup-node to v4
mauriciolauffer May 23, 2025
2ea42a1
ci: Bump GH Actions github/codeql-action/* to v3
mauriciolauffer May 23, 2025
13159cb
ci: Bump GH Actions download-artifact and upload-artifact to v4
mauriciolauffer May 23, 2025
dc6cb3e
ci: Bump prettier version
mauriciolauffer May 23, 2025
4523d5e
chore: Bump types versions
mauriciolauffer May 23, 2025
4bd2763
chore: Linting + types
mauriciolauffer May 30, 2025
c790e92
fix: Mostly any types
mauriciolauffer Jun 2, 2025
924fff4
fix: Remove deprecated browser.switchToFrame
mauriciolauffer Jun 2, 2025
9316c37
fix: use crypto.randomUUID
mauriciolauffer Jun 6, 2025
319c805
refactor: load UI5 libs in 1 task
mauriciolauffer Jun 6, 2025
f1517dc
fix: remove multiple any types
mauriciolauffer Jun 6, 2025
f80439b
chore: linting
mauriciolauffer Jun 6, 2025
49b7930
fix: performance (#658)
Siolto Jun 4, 2025
6cb371e
fix: use crypto.randomUUID
mauriciolauffer Jun 6, 2025
19dd759
fix: revert
mauriciolauffer Jun 6, 2025
f34c37a
build: clean script
mauriciolauffer Jun 7, 2025
fd7e32c
test: add more UI5 LTS versions
mauriciolauffer Jun 7, 2025
2a8904b
refactor: remove fs-extra
mauriciolauffer Jun 7, 2025
6c1b114
chore: pretty sure package "i" was installed by mistake
mauriciolauffer Jun 7, 2025
129d1e7
test: fix expected value
mauriciolauffer Jun 9, 2025
11fd264
Merge branch 'v9-support' into v9-support-linting
mauriciolauffer Jun 9, 2025
e46167e
chore: update workflows to also run against v9-support
vobu Jun 11, 2025
c2e7248
test: use a public method to test selected element
mauriciolauffer Jun 11, 2025
42db9a6
test: expect().toHaveTextContaining() doesn't exist
mauriciolauffer Jun 11, 2025
7b7f44d
test: replace getInitStatus() by isInitialized()
mauriciolauffer Jun 15, 2025
e14cf48
test: fix wdio-ui5tooling.conf.js
mauriciolauffer Jun 15, 2025
342bc31
test: remove deepmerge dependency
mauriciolauffer Jun 15, 2025
cfd9f75
chore: npm shouldn't be a dependency
mauriciolauffer Jun 15, 2025
6447f58
test: simplify test deps with peerDeps
mauriciolauffer Jun 15, 2025
a5b8a89
test: replace sinon by node:test
mauriciolauffer Jun 16, 2025
f97de73
fix: remove devtools dep
mauriciolauffer Jun 16, 2025
a323589
fix: use browserInstance rather than global browser
mauriciolauffer Jun 20, 2025
ac503b6
fix: no console - use wdi5 Logger
mauriciolauffer Jun 20, 2025
5257422
refactor: compare-versions package as a real dependency
mauriciolauffer Jun 21, 2025
e0b9144
refactor: remove more browser globals
mauriciolauffer Jun 21, 2025
9c9cdea
test: add browserVersion to make tests more stable + no node:join in …
mauriciolauffer Jun 22, 2025
68f7823
chore: prettier
mauriciolauffer Jun 22, 2025
86631ff
chore: remove old eslint files
mauriciolauffer Jun 24, 2025
fb9ccec
fix: baseUrl is mandatory, must fail if missing
mauriciolauffer Jun 24, 2025
f48f53d
fix: load ui5 libs at once
mauriciolauffer Jun 26, 2025
e88bd1c
refactor: client-side-js is also typed
mauriciolauffer Jun 30, 2025
69d581c
fix: use control.getMetadata().getName()
mauriciolauffer Jun 30, 2025
270f318
docs: add statement for new bidi protocol
marianfoo Jun 25, 2025
c52157b
Update docs/migration.md
marianfoo Jul 1, 2025
feae101
fix: multiremote race condition where injectUI5 was not done
Siolto Jul 1, 2025
d690c76
wip: use stable ubuntu version
Siolto Jul 1, 2025
c3ce843
wip: decrease ubuntu version
Siolto Jul 1, 2025
dbac6de
chore: add multiremote to the tests again
Siolto Jul 1, 2025
7c189d5
refactor: linting
mauriciolauffer Jul 2, 2025
d5ca07b
refactor: ts erasableSyntaxOnly
mauriciolauffer Jul 2, 2025
bec79f0
fix: wdio bridge
mauriciolauffer Jul 3, 2025
be3f0fe
chore: use stable ubuntu version due to chrome138 pipeline issues
Siolto Jul 3, 2025
b280f84
fix: increase timeout for ts tests in pipeline
Siolto Jul 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-docker-standalone-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
IMAGE_NAME: ${{ github.repository }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: get-npm-version
id: package-version
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name: "CodeQL"
on:
pull_request:
# The branches below must be a subset of the branches above
branches: [main, main-v2]
branches: [main, v9-support]
schedule:
- cron: "43 16 * * 4"

Expand All @@ -36,11 +36,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -51,7 +51,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -65,4 +65,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v3
4 changes: 2 additions & 2 deletions .github/workflows/gh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,28 @@ on:
push:
branches:
- main
- main-v2
- v9-support
pull_request:
branches:
- main
- main-v2
- v9-support

jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- name: tmp install prettier + eslint
run: npm i prettier eslint
run: npm i
- name: lint things
run: |
node_modules/.bin/prettier --debug-check client-side-js src docs
node_modules/.bin/eslint ./src/**/*.ts
npx prettier --debug-check client-side-js src docs
npx eslint ./src/**/*.ts
# TODO: linting rules for client-side-js
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
### if: "!contains(github.event.head_commit.author.name, 'wdi5 bot') && !startsWith(github.event.head_commit.message, 'chore(deps') && !startsWith(github.event.head_commit.message, 'docs') && !startsWith(github.event.head_commit.message, 'ci')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{secrets.ADMIN_WDI5}}
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-btp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
build-sample-ts-app:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: "npm"
Expand All @@ -25,7 +25,7 @@ jobs:
# let's check where we are
- run: pwd
- name: provide mtar
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: mtar
path: examples/ui5-ts-app/mta_archives/ui5-approuter_1.0.0.mtar
Expand All @@ -35,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: get mtar
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: mtar
- name: deploy to BTP
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/wdi5-tests_auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ env:
jobs:
authorize:
environment: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}
runs-on: ubuntu-latest
### revisit: when chrome 138 does not make any more issues => go back to latest
runs-on: ubuntu-22.04
steps:
- run: true

Expand All @@ -46,13 +47,13 @@ jobs:

steps:
- name: check out repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
submodules: recursive

- name: use node ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/wdi5-tests_core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
branches:
- main
- main-v2
- v9-support
paths:
# relevant
- "client-side-js/**"
Expand All @@ -28,10 +28,10 @@ jobs:

steps:
- name: check out repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: use node ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/wdi5-tests_fe-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
branches:
- main
- main-v2
- v9-support
paths:
# relevant
- "client-side-js/**"
Expand All @@ -20,7 +20,8 @@ on:

jobs:
tests:
runs-on: ubuntu-latest
### revisit: when chrome 138 does not make any more issues => go back to latest
runs-on: ubuntu-22.04

strategy:
matrix:
Expand All @@ -40,10 +41,10 @@ jobs:
# google-chrome --version

- name: check out repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: use node ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/wdi5-tests_js-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches:
- main
- main-v2
- v9-support

paths:
# relevant
Expand All @@ -22,7 +22,8 @@ on:

jobs:
tests:
runs-on: ubuntu-latest
### revisit: when chrome 138 does not make any more issues => go back to latest
runs-on: ubuntu-22.04

strategy:
matrix:
Expand All @@ -42,10 +43,10 @@ jobs:
# google-chrome --version

- name: check out repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: use node ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/wdi5-tests_ts-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches:
- main
- main-v2
- v9-support
paths:
# relevant
- "client-side-js/**"
Expand All @@ -21,7 +21,8 @@ on:

jobs:
tests:
runs-on: ubuntu-latest
### revisit: when chrome 138 does not make any more issues => go back to latest
runs-on: ubuntu-22.04

strategy:
matrix:
Expand All @@ -41,10 +42,10 @@ jobs:
# google-chrome --version

- name: check out repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: use node ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
Expand Down
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ README.md
# build artifacts
dist
CHANGELOG.md
docs/resources.md
docs/resources.md
*.html
9 changes: 2 additions & 7 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,10 @@
"endOfLine": "lf",
"overrides": [
{
"files": [
"*.yaml",
"*.yml",
"*.json",
"*.md"
],
"files": ["*.yaml", "*.yml", "*.json", "*.md"],
"options": {
"tabWidth": 2
}
}
]
}
}
16 changes: 0 additions & 16 deletions .retrofit-pkg-json.js

This file was deleted.

15 changes: 0 additions & 15 deletions client-side-js/_checkForUI5Ready.cjs

This file was deleted.

25 changes: 0 additions & 25 deletions client-side-js/getSelectorForElement.cjs

This file was deleted.

12 changes: 0 additions & 12 deletions client-side-js/injectTools.cjs

This file was deleted.

Loading
Loading