Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Render the page each markup test reads
Two tests read the page an earlier test left in tmp, so a test put in
between would have had them check some other page.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/t0005-markup.sh | 2 |
1 file changed, 2 insertions, 0 deletions
diff --git a/tests/t0005-markup.sh b/tests/t0005-markup.sh index 073fbc1..3f6b8e7 100755 --- a/tests/t0005-markup.sh +++ b/tests/t0005-markup.sh @@ -28,6 +28,7 @@ test_expect_success 'the root names the page and the repository' ' ' test_expect_success 'the landmarks and the search form are in place' ' + cgit_ok hooksrc "url=hooks/log/" >tmp && grep "<header id=.header.>" tmp && grep "<nav class=.tabs. aria-label=.Pages.>" tmp && grep "<form class=.search. role=.search." tmp && @@ -58,6 +59,7 @@ test_expect_success 'the pages name the versions only when asked to' ' ' test_expect_success 'the listings name themselves, their sections and their rows' ' + cgit_ok hooksrc "url=hooks/log/" >tmp && grep "<table class=.list log. aria-label=.Commits.>" tmp && grep "<tbody class=.log.>" tmp && grep "<tr class=.commit.>" tmp && |
