diff --git a/tests/visual/suites/layout/nav/_overflow/docs/empty.md b/tests/visual/suites/layout/nav/_overflow/docs/default.md similarity index 100% rename from tests/visual/suites/layout/nav/_overflow/docs/empty.md rename to tests/visual/suites/layout/nav/_overflow/docs/default.md diff --git a/tests/visual/suites/layout/nav/_overflow/mkdocs.yml b/tests/visual/suites/layout/nav/_overflow/mkdocs.yml index 74e24de51..f6b8b886e 100644 --- a/tests/visual/suites/layout/nav/_overflow/mkdocs.yml +++ b/tests/visual/suites/layout/nav/_overflow/mkdocs.yml @@ -23,6 +23,6 @@ site_name: Pneumonoultramicroscopicsilicovolcanoconiosis pages: - Pneumonoultramicroscopicsilicovolcanoconiosis: index.md - Supercalifragilisticexpialidocious: - - Pseudopseudohypoparathyroidism: empty.md - - Floccinaucinihilipilification: empty.md - - Antidisestablishmentarianism: empty.md + - Pseudopseudohypoparathyroidism: default.md + - Floccinaucinihilipilification: default.md + - Antidisestablishmentarianism: default.md diff --git a/tests/visual/suites/layout/nav/docs/empty.md b/tests/visual/suites/layout/nav/docs/default.md similarity index 100% rename from tests/visual/suites/layout/nav/docs/empty.md rename to tests/visual/suites/layout/nav/docs/default.md diff --git a/tests/visual/suites/layout/nav/mkdocs.yml b/tests/visual/suites/layout/nav/mkdocs.yml index f35cd7ced..79627b4a0 100644 --- a/tests/visual/suites/layout/nav/mkdocs.yml +++ b/tests/visual/suites/layout/nav/mkdocs.yml @@ -22,10 +22,10 @@ site_name: Test/Navigation pages: - Lorem ipsum dolor sit amet: index.md - - Consectetur adipiscing elit: empty.md - - Etiam condimentum lacinia urna id vestibulum: empty.md + - Consectetur adipiscing elit: default.md + - Etiam condimentum lacinia urna id vestibulum: default.md - A dapibus turpis iaculis at: - - Donec tortor sem: empty.md - - Scelerisque ut congue id: empty.md - - Pretium ac risus: empty.md - - Maecenas tincidunt nulla dui: empty.md + - Donec tortor sem: default.md + - Scelerisque ut congue id: default.md + - Pretium ac risus: default.md + - Maecenas tincidunt nulla dui: default.md diff --git a/tests/visual/suites/layout/nav/suite.js b/tests/visual/suites/layout/nav/suite.js index 2cc4c156c..29d272aa5 100644 --- a/tests/visual/suites/layout/nav/suite.js +++ b/tests/visual/suites/layout/nav/suite.js @@ -79,9 +79,9 @@ spec.generate(__dirname, { "states": [ { "name": "", "wait": 250, "exec": open } ], - "suites": { + "suite": { - /* Last list item */ // TODO: this is not captured! + /* Last list item */ ":last-child": { "capture": ".md-nav--primary > .md-nav__list >" + @@ -101,7 +101,7 @@ spec.generate(__dirname, { "states": [ { "name": "", "wait": 250, "exec": open } ], - "suites": { + "suite": { /* Link inside item that contains a nested list */ "md-nav__link": { @@ -114,19 +114,6 @@ spec.generate(__dirname, { { "name": ":focus", "wait": 250, "exec": open }, { "name": ":hover", "wait": 250, "exec": open } ] - }, - - /* Active link inside item that contains a nested list */ - "md-nav__link--active": { - "capture": - ".md-nav--primary .md-nav__item--nested " + - ".md-nav__link--active", - "break": "+@tablet-landscape", - "states": [ - { "name": "", "wait": 250, "exec": open }, - { "name": ":focus", "wait": 250, "exec": open }, - { "name": ":hover", "wait": 250, "exec": open } - ] } } },