2022-09-30 17:44:15 +00:00
|
|
|
// This test checks that there are margins applied to methods with no docblocks.
|
2022-11-09 16:00:05 +00:00
|
|
|
|
2023-10-06 01:44:40 +00:00
|
|
|
// We need to disable this check because `trait.impl/test_docs/trait.TraitWithNoDocblock.js`
|
2022-11-09 16:00:05 +00:00
|
|
|
// doesn't exist.
|
|
|
|
fail-on-request-error: false
|
|
|
|
|
2023-04-11 17:11:34 +00:00
|
|
|
go-to: "file://" + |DOC_PATH| + "/test_docs/trait.TraitWithNoDocblocks.html"
|
2022-09-30 17:44:15 +00: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 17:11:34 +00:00
|
|
|
go-to: "file://" + |DOC_PATH| + "/test_docs/struct.TypeWithNoDocblocks.html"
|
2022-09-30 17:44:15 +00: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})
|