-
Type: Task
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 10.3
-
Component/s: Web UI
-
Release Notes Summary:New Shadow DOM handling plugin, with multi browser support.
-
Release Notes Description:
-
Epic Link:
-
Sprint:nxGang Sprint 10.3.5, nxGang Sprint 10.3.6
-
Story Points:5
We need to replace the usage of the shadow-piercing combinator in the ftest framework, since it was removed on Chrome 69.
As results of this task:
- the shadow adapter was converted into a plugin that contributes new wdio commands, which no longer relies on the shadow-piercing combinator >>>
- because of this, we lost the ability to use xpath selectors, which will be covered in NXP-25871
- added a new test tag @cleanupLocalStorage to make sure that the local storage will be cleaned for the current user after the covered scenario(s) run
- added support for different browsers; you can now use the --browser cli param or the more convenient environment variable BROWSER (i.e., to run the tests with Firefox, you can run BROWSER=firefox npm run test:watch)
- there's a new environment variable BROWSER_BINARY, which allows the path of the browser binary to be changed (applies to Chrome and Firefox only, for now...); this is particularly useful for CI
- updated the Jenkinsfile so these variables will be exposed as job params for the pipeline
- tests are passing on Chrome, but there are still random failures, which will be tackled under
NXP-25872 - only 68% of them pass on Firefox, which will be addressed in NXP-25873
- most tests fail on Safari, which we'd like to fix in NXP-25875
- backport for 9.10 will be done separately under
NXP-25876
- is related to
-
NXP-25768 Stabilize Web UI FT
- Resolved
-
NXP-25872 Stabilize functional tests after removal of the shadow-piercing combinator
- Resolved
-
NXP-25873 Stabilize Web UI's functional tests on Firefox
- Open
-
NXP-25871 Allow xpath query on WebUI functional test framework
- Open
-
NXP-25875 Stabilize Web UI's functional tests on Safari
- Open
-
NXP-25876 Backport shadow dom plugin for Web UI's FT framework for 9.10
- Resolved
-
NXP-26832 DAM tests fail
- Resolved
-
NXP-25056 Investigate Shadow Piercing alternatives for Web UI FT on Firefox
- Resolved
-
NXBT-2488 Make sure builds are reproducible by fixing all tooling versions
- Open
- is required by
-
NXP-25816 Add functional tests for Publishing
- Resolved
-
NXP-25839 Add functional tests to Comments
- Resolved