Skip to content

POC - Added playwright tests to admin-ui - #1918

Open
pawlakadrian wants to merge 12 commits into
5.0from
playwright-ts-setup
Open

pawlakadrian wants to merge 12 commits into
5.0from
playwright-ts-setup

IBX-11740: Add package-lock.json for playwright_ts

64630c9
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Sep 16, 2026 in 36s

Quality Gate failed

Failed conditions
9.8% Duplication on New Code (required ≤ 3%)
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 143 in tests/playwright_ts/tests/ContentDraft.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this "networkidle" wait with a web-first assertion or a specific readiness condition.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fL18lqwdTEMpbFd&open=AaCp-fL18lqwdTEMpbFd&pullRequest=1918

Check warning on line 107 in tests/playwright_ts/tests/ContentDraft.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this "networkidle" wait with a web-first assertion or a specific readiness condition.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fL18lqwdTEMpbFZ&open=AaCp-fL18lqwdTEMpbFZ&pullRequest=1918

Check failure on line 84 in tests/playwright_ts/tests/ObjectStates.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fL-8lqwdTEMpbFg&open=AaCp-fL-8lqwdTEMpbFg&pullRequest=1918

Check failure on line 176 in tests/playwright_ts/tests/ObjectStates.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fL-8lqwdTEMpbFj&open=AaCp-fL-8lqwdTEMpbFj&pullRequest=1918

Check failure on line 155 in tests/playwright_ts/tests/Sections.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fLl8lqwdTEMpbFS&open=AaCp-fLl8lqwdTEMpbFS&pullRequest=1918

Check warning on line 104 in .github/workflows/playwright-ts-tests.yaml

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define exact package version to avoid installing unverified releases.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fMy8lqwdTEMpbF5&open=AaCp-fMy8lqwdTEMpbF5&pullRequest=1918

Check warning on line 84 in tests/playwright_ts/lib/ContentManagementPage.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Either use this collection's contents or remove the collection.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fJ58lqwdTEMpbEr&open=AaCp-fJ58lqwdTEMpbEr&pullRequest=1918

Check warning on line 60 in tests/playwright_ts/tests/ContentTranslation.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this "networkidle" wait with a web-first assertion or a specific readiness condition.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fLc8lqwdTEMpbFN&open=AaCp-fLc8lqwdTEMpbFN&pullRequest=1918

Check failure on line 56 in tests/playwright_ts/tests/ContentDraft.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fL18lqwdTEMpbFW&open=AaCp-fL18lqwdTEMpbFW&pullRequest=1918

Check failure on line 14 in tests/playwright_ts/tests/MyDrafts.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fLT8lqwdTEMpbFJ&open=AaCp-fLT8lqwdTEMpbFJ&pullRequest=1918

Check failure on line 124 in tests/playwright_ts/tests/Sections.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fLl8lqwdTEMpbFR&open=AaCp-fLl8lqwdTEMpbFR&pullRequest=1918

Check warning on line 84 in tests/playwright_ts/tests/UrlAliases.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this "networkidle" wait with a web-first assertion or a specific readiness condition.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fMH8lqwdTEMpbFo&open=AaCp-fMH8lqwdTEMpbFo&pullRequest=1918

Check warning on line 138 in tests/playwright_ts/tests/ContentDraft.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this "networkidle" wait with a web-first assertion or a specific readiness condition.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fL18lqwdTEMpbFc&open=AaCp-fL18lqwdTEMpbFc&pullRequest=1918

Check failure on line 109 in tests/playwright_ts/tests/Trash.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fMg8lqwdTEMpbFv&open=AaCp-fMg8lqwdTEMpbFv&pullRequest=1918

Check warning on line 113 in tests/playwright_ts/tests/ContentDraft.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this "networkidle" wait with a web-first assertion or a specific readiness condition.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fL18lqwdTEMpbFa&open=AaCp-fL18lqwdTEMpbFa&pullRequest=1918

Check failure on line 47 in tests/playwright_ts/tests/ContentTypeGroup.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fKn8lqwdTEMpbE5&open=AaCp-fKn8lqwdTEMpbE5&pullRequest=1918

Check failure on line 22 in tests/playwright_ts/tests/Authentication.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fLM8lqwdTEMpbFG&open=AaCp-fLM8lqwdTEMpbFG&pullRequest=1918

Check warning on line 327 in tests/playwright_ts/lib/RolesPage.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to variable "module".

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fKW8lqwdTEMpbEx&open=AaCp-fKW8lqwdTEMpbEx&pullRequest=1918

Check failure on line 109 in tests/playwright_ts/tests/ObjectStates.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fL-8lqwdTEMpbFh&open=AaCp-fL-8lqwdTEMpbFh&pullRequest=1918

Check warning on line 34 in tests/playwright_ts/global-setup.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fD48lqwdTEMpbEk&open=AaCp-fD48lqwdTEMpbEk&pullRequest=1918

Check warning on line 30 in tests/playwright_ts/lib/ContentEditPage.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the "RegExp.exec()" method instead.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fJm8lqwdTEMpbEo&open=AaCp-fJm8lqwdTEMpbEo&pullRequest=1918

Check warning on line 1 in tests/playwright_ts/lib/MyDraftsPage.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'expect'.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fKN8lqwdTEMpbEv&open=AaCp-fKN8lqwdTEMpbEv&pullRequest=1918

Check failure on line 8 in tests/playwright_ts/tests/Authentication.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fLM8lqwdTEMpbFD&open=AaCp-fLM8lqwdTEMpbFD&pullRequest=1918

Check failure on line 15 in tests/playwright_ts/tests/Authentication.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fLM8lqwdTEMpbFE&open=AaCp-fLM8lqwdTEMpbFE&pullRequest=1918

Check warning on line 35 in tests/playwright_ts/tests/SearchContent.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this "networkidle" wait with a web-first assertion or a specific readiness condition.

See more on https://sonarcloud.io/project/issues?id=ibexa_admin-ui&issues=AaCp-fMX8lqwdTEMpbFr&open=AaCp-fMX8lqwdTEMpbFr&pullRequest=1918