Summary

Harness status: OK

Found 6 tests

Details

ResultTest NameMessage
Pass.box 1
Asserts run
Pass
assert_true(true, "data-expected-margin-left is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_true(true, "data-expected-margin-right is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_equals("15", "15", "\n<div class=\"container\">\n    <div class=\"float\"></div>\n    <div class=\"box\" style=\"margin: auto;\" data-expected-margin-left=\"15\" data-expected-margin-right=\"35\"></div>\n    <div class=\"box\" style=\"margin-left: auto;\" data-expected-margin-left=\"30\" data-expected-margin-right=\"0\"></div>\n    <div class=\"box\" style=\"margin-right: auto;\" data-expected-margin-left=\"0\" data-expected-margin-right=\"50\"></div>\n  </div>\nmargin-left")
    at checkExpectedValues ( /resources/check-layout-th.js:193:9)
Pass
assert_equals("35", "35", "\n<div class=\"container\">\n    <div class=\"float\"></div>\n    <div class=\"box\" style=\"margin: auto;\" data-expected-margin-left=\"15\" data-expected-margin-right=\"35\"></div>\n    <div class=\"box\" style=\"margin-left: auto;\" data-expected-margin-left=\"30\" data-expected-margin-right=\"0\"></div>\n    <div class=\"box\" style=\"margin-right: auto;\" data-expected-margin-left=\"0\" data-expected-margin-right=\"50\"></div>\n  </div>\nmargin-right")
    at checkExpectedValues ( /resources/check-layout-th.js:201:9)
Pass.box 2
Asserts run
Pass
assert_true(true, "data-expected-margin-left is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_true(true, "data-expected-margin-right is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_equals("30", "30", "\n<div class=\"container\">\n    <div class=\"float\"></div>\n    <div class=\"box\" style=\"margin: auto;\" data-expected-margin-left=\"15\" data-expected-margin-right=\"35\"></div>\n    <div class=\"box\" style=\"margin-left: auto;\" data-expected-margin-left=\"30\" data-expected-margin-right=\"0\"></div>\n    <div class=\"box\" style=\"margin-right: auto;\" data-expected-margin-left=\"0\" data-expected-margin-right=\"50\"></div>\n  </div>\nmargin-left")
    at checkExpectedValues ( /resources/check-layout-th.js:193:9)
Pass
assert_equals("0", "0", "\n<div class=\"container\">\n    <div class=\"float\"></div>\n    <div class=\"box\" style=\"margin: auto;\" data-expected-margin-left=\"15\" data-expected-margin-right=\"35\"></div>\n    <div class=\"box\" style=\"margin-left: auto;\" data-expected-margin-left=\"30\" data-expected-margin-right=\"0\"></div>\n    <div class=\"box\" style=\"margin-right: auto;\" data-expected-margin-left=\"0\" data-expected-margin-right=\"50\"></div>\n  </div>\nmargin-right")
    at checkExpectedValues ( /resources/check-layout-th.js:201:9)
Pass.box 3
Asserts run
Pass
assert_true(true, "data-expected-margin-left is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_true(true, "data-expected-margin-right is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_equals("0", "0", "\n<div class=\"container\">\n    <div class=\"float\"></div>\n    <div class=\"box\" style=\"margin: auto;\" data-expected-margin-left=\"15\" data-expected-margin-right=\"35\"></div>\n    <div class=\"box\" style=\"margin-left: auto;\" data-expected-margin-left=\"30\" data-expected-margin-right=\"0\"></div>\n    <div class=\"box\" style=\"margin-right: auto;\" data-expected-margin-left=\"0\" data-expected-margin-right=\"50\"></div>\n  </div>\nmargin-left")
    at checkExpectedValues ( /resources/check-layout-th.js:193:9)
Pass
assert_equals("50", "50", "\n<div class=\"container\">\n    <div class=\"float\"></div>\n    <div class=\"box\" style=\"margin: auto;\" data-expected-margin-left=\"15\" data-expected-margin-right=\"35\"></div>\n    <div class=\"box\" style=\"margin-left: auto;\" data-expected-margin-left=\"30\" data-expected-margin-right=\"0\"></div>\n    <div class=\"box\" style=\"margin-right: auto;\" data-expected-margin-left=\"0\" data-expected-margin-right=\"50\"></div>\n  </div>\nmargin-right")
    at checkExpectedValues ( /resources/check-layout-th.js:201:9)
Pass.box 4
Asserts run
Pass
assert_true(true, "data-expected-margin-left is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_true(true, "data-expected-margin-right is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_equals("15", "15", "\n<div class=\"container\" style=\"direction: rtl;\">\n    <div class=\"float\"></div>\n    <div class=\"box\" style=\"margin: auto;\" data-expected-margin-left=\"15\" data-expected-margin-right=\"35\"></div>\n    <div class=\"box\" style=\"margin-left: auto;\" data-expected-margin-left=\"30\" data-expected-margin-right=\"0\"></div>\n    <div class=\"box\" style=\"margin-right: auto;\" data-expected-margin-left=\"0\" data-expected-margin-right=\"50\"></div>\n  </div>\nmargin-left")
    at checkExpectedValues ( /resources/check-layout-th.js:193:9)
Pass
assert_equals("35", "35", "\n<div class=\"container\" style=\"direction: rtl;\">\n    <div class=\"float\"></div>\n    <div class=\"box\" style=\"margin: auto;\" data-expected-margin-left=\"15\" data-expected-margin-right=\"35\"></div>\n    <div class=\"box\" style=\"margin-left: auto;\" data-expected-margin-left=\"30\" data-expected-margin-right=\"0\"></div>\n    <div class=\"box\" style=\"margin-right: auto;\" data-expected-margin-left=\"0\" data-expected-margin-right=\"50\"></div>\n  </div>\nmargin-right")
    at checkExpectedValues ( /resources/check-layout-th.js:201:9)
Pass.box 5
Asserts run
Pass
assert_true(true, "data-expected-margin-left is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_true(true, "data-expected-margin-right is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_equals("30", "30", "\n<div class=\"container\" style=\"direction: rtl;\">\n    <div class=\"float\"></div>\n    <div class=\"box\" style=\"margin: auto;\" data-expected-margin-left=\"15\" data-expected-margin-right=\"35\"></div>\n    <div class=\"box\" style=\"margin-left: auto;\" data-expected-margin-left=\"30\" data-expected-margin-right=\"0\"></div>\n    <div class=\"box\" style=\"margin-right: auto;\" data-expected-margin-left=\"0\" data-expected-margin-right=\"50\"></div>\n  </div>\nmargin-left")
    at checkExpectedValues ( /resources/check-layout-th.js:193:9)
Pass
assert_equals("0", "0", "\n<div class=\"container\" style=\"direction: rtl;\">\n    <div class=\"float\"></div>\n    <div class=\"box\" style=\"margin: auto;\" data-expected-margin-left=\"15\" data-expected-margin-right=\"35\"></div>\n    <div class=\"box\" style=\"margin-left: auto;\" data-expected-margin-left=\"30\" data-expected-margin-right=\"0\"></div>\n    <div class=\"box\" style=\"margin-right: auto;\" data-expected-margin-left=\"0\" data-expected-margin-right=\"50\"></div>\n  </div>\nmargin-right")
    at checkExpectedValues ( /resources/check-layout-th.js:201:9)
Pass.box 6
Asserts run
Pass
assert_true(true, "data-expected-margin-left is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_true(true, "data-expected-margin-right is a valid data attribute")
    at checkDataKeys ( /resources/check-layout-th.js:61:13)
Pass
assert_equals("0", "0", "\n<div class=\"container\" style=\"direction: rtl;\">\n    <div class=\"float\"></div>\n    <div class=\"box\" style=\"margin: auto;\" data-expected-margin-left=\"15\" data-expected-margin-right=\"35\"></div>\n    <div class=\"box\" style=\"margin-left: auto;\" data-expected-margin-left=\"30\" data-expected-margin-right=\"0\"></div>\n    <div class=\"box\" style=\"margin-right: auto;\" data-expected-margin-left=\"0\" data-expected-margin-right=\"50\"></div>\n  </div>\nmargin-left")
    at checkExpectedValues ( /resources/check-layout-th.js:193:9)
Pass
assert_equals("50", "50", "\n<div class=\"container\" style=\"direction: rtl;\">\n    <div class=\"float\"></div>\n    <div class=\"box\" style=\"margin: auto;\" data-expected-margin-left=\"15\" data-expected-margin-right=\"35\"></div>\n    <div class=\"box\" style=\"margin-left: auto;\" data-expected-margin-left=\"30\" data-expected-margin-right=\"0\"></div>\n    <div class=\"box\" style=\"margin-right: auto;\" data-expected-margin-left=\"0\" data-expected-margin-right=\"50\"></div>\n  </div>\nmargin-right")
    at checkExpectedValues ( /resources/check-layout-th.js:201:9)