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
|
|
|
|
|
|
|
// We need to disable this check because `implementors/test_docs/trait.TraitWithNoDocblock.js`
|
|
|
|
// doesn't exist.
|
|
|
|
fail-on-request-error: false
|
|
|
|
|
2022-10-07 13:17:05 -05:00
|
|
|
goto: "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})
|
|
|
|
|
2022-10-07 13:17:05 -05:00
|
|
|
goto: "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})
|