~zsombi/ubuntu-ui-toolkit/checkFix

« back to all changes in this revision

Viewing changes to tests/unit_x11/tst_components/tst_pageheader.qml

Add a back action to the Page.header automatically in PageStack and AdaptivePageLayout.

Approved by Zsombor Egri, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
260
260
            function test_foreground_color() {
261
261
                var color1 = color_by_value(style.foregroundColor);
262
262
                var bar = header.trailingActionBar;
263
 
                var iconButton = findChild(bar, "action1_action_button");
 
263
                var iconButton = findChild(bar, "action1_button");
264
264
                var buttonStyle = iconButton.__styleInstance;
265
265
                compare(Qt.colorEqual(buttonStyle.foregroundColor, color1), true,
266
266
                        "Button foreground color does not match header foreground color.");