Skip to content

Commit

Permalink
Merge pull request #5484 from jdi-testing/5349
Browse files Browse the repository at this point in the history
#5349 Fix appbar locator
  • Loading branch information
pnatashap authored Apr 23, 2024
2 parents b281431 + d9d4442 commit 64c778f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@

public class BackToTopAppBarPage extends WebPage {

// @todo #5297 Check the locator, looks like it is not for AppBar (or use correct classname)
@UI(".MuiBox-root[1]")
@UI(".MuiAppBar-root")
public static AppBar backToTopAppBar;

@UI("div[role=presentation]")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*/
public class AppBar extends Section implements HasPosition, HasColor {

// @todo #5349 Toolbar class should be created with this API https://v4.mui.com/api/toolbar/
@UI(".MuiToolbar-root")
public UIElement content;

Expand Down

0 comments on commit 64c778f

Please sign in to comment.