2022-09-30 12:44:15 -05:00
|
|
|
// This test checks that there are margins applied to methods with no docblocks.
|
2022-11-09 10:00:05 -06:00
|
|
|
|
2023-10-05 20:44:40 -05:00
|
|
|
// We need to disable this check because `trait.impl/test_docs/trait.TraitWithNoDocblock.js`
|
2022-11-09 10:00:05 -06:00
|
|
|
// doesn't exist.
|
|
|
|
fail-on-request-error: false
|
|
|
|
|
2023-04-11 12:11:34 -05:00
|
|
|
go-to: "file://" + |DOC_PATH| + "/test_docs/trait.TraitWithNoDocblocks.html"
|
2022-09-30 12:44:15 -05:00
|
|
|
// Check that the two methods are more than 24px apart.
|
|
|
|
compare-elements-position-near-false: ("//*[@id='tymethod.first_fn']", "//*[@id='tymethod.second_fn']", {"y": 24})
|
|
|
|
|
2023-04-11 12:11:34 -05:00
|
|
|
go-to: "file://" + |DOC_PATH| + "/test_docs/struct.TypeWithNoDocblocks.html"
|
2022-09-30 12:44:15 -05:00
|
|
|
// Check that the two methods are more than 24px apart.
|
|
|
|
compare-elements-position-near-false: ("//*[@id='method.first_fn']", "//*[@id='method.second_fn']", {"y": 24})
|