2022-09-02 14:15:06 -05:00
|
|
|
// This test ensures that the "item-info" looks about the same
|
|
|
|
// whether or not it's inside a toggle.
|
2023-04-11 12:11:34 -05:00
|
|
|
go-to: "file://" + |DOC_PATH| + "/lib2/struct.ItemInfoAlignmentTest.html"
|
2022-09-02 14:15:06 -05:00
|
|
|
|
|
|
|
// First, we try it in "desktop" mode.
|
2023-04-11 12:11:34 -05:00
|
|
|
set-window-size: (1200, 870)
|
2024-04-01 14:11:22 -05:00
|
|
|
compare-elements-position: (".impl-items > .item-info", "summary > .item-info", ["x"])
|
2022-09-02 14:15:06 -05:00
|
|
|
// Next, we try it in "mobile" mode (max-width: 700px).
|
2023-04-11 12:11:34 -05:00
|
|
|
set-window-size: (650, 650)
|
2024-04-01 14:11:22 -05:00
|
|
|
compare-elements-position: (".impl-items > .item-info", "summary > .item-info", ["x"])
|