Skip to content

Update CMS micro-app locator after Shadow DOM removal - #89

Open
IvanRadnevQA wants to merge 27 commits into
AutomateThePlanet:mainfrom
Sportal365:smpInternal
Open

Update CMS micro-app locator after Shadow DOM removal#89
IvanRadnevQA wants to merge 27 commits into
AutomateThePlanet:mainfrom
Sportal365:smpInternal

Conversation

@IvanRadnevQA

Copy link
Copy Markdown
Contributor

PLT-2665 removed the Shadow DOM boundary from apps/shell and renamed
data-shadow-host to data-micro-app. PageMap.cmsShadowRoot now queries the
new attribute and returns the container Div directly, since there is no
shadow root left to unwrap.

IvanRadnevQA and others added 27 commits December 10, 2024 16:24
… of 8px margin for more accurate visual tests
  PLT-2665 removed the Shadow DOM boundary from apps/shell and renamed
  data-shadow-host to data-micro-app. PageMap.cmsShadowRoot now queries the
  new attribute and returns the container Div directly, since there is no
  shadow root left to unwrap.
var chromeOptions = new ChromeOptions();
addDriverOptions(chromeOptions);
addDriverCapabilities(chromeOptions);
chromeOptions.addArguments("--proxy-bypass-list=news-tracker-sockets.api.staging.sportal365.com");

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Project-specific urls cannot be merged into the framework - maybe you should keep them in the fork.

var chromeHeadlessOptions = new ChromeOptions();
addDriverOptions(chromeHeadlessOptions);
chromeHeadlessOptions.setAcceptInsecureCerts(true);
chromeHeadlessOptions.addArguments("--proxy-bypass-list=news-tracker-sockets.api.staging.sportal365.com");

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

import solutions.bellatrix.web.services.App;
import solutions.bellatrix.web.services.ComponentCreateService;

public abstract class PageMap {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are also looking are project specifics - do you have a Base Page map in the Sportal tests where you can move these?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants