Skip to content

Commit

Permalink
#5349 Fix appbar locator
Browse files Browse the repository at this point in the history
  • Loading branch information
pnatashap committed Apr 23, 2024
1 parent b281431 commit d9d4442
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 d9d4442

Please sign in to comment.