@@ -86,6 +86,9 @@ testFolderAndContinue "$TARGET_DIR/de/tags/c++"
86
86
testFolderAndContinue " $TARGET_DIR /tags/tästing++"
87
87
testFolderAndContinue " $TARGET_DIR /de/tags/tästing++"
88
88
89
+ testFolderAndContinue " $TARGET_DIR /archive"
90
+ testFolderAndContinue " $TARGET_DIR /de/archive"
91
+
89
92
# article/täst [en]
90
93
echo " ## Testing article/täst [en]"
91
94
testContentAndContinue ' <a href="https://example.com/categories/t%C3%A4st++/">Täst++</a>' " $TARGET_DIR /article/täst/index.html"
@@ -96,7 +99,7 @@ testContentAndContinue '<a href="https://example.com/de/article/t%C3%A4st/">de</
96
99
testContentAndContinue ' <a href="https://example.com/article/t%C3%A4st/">Umlauts Täst++</a>' " $TARGET_DIR /article/täst/index.html"
97
100
testContentAndContinue ' <p>This is a umlauts-test in Quotes äüöß++</p>' " $TARGET_DIR /quote/index.html"
98
101
testContentAndContinue ' <a href="https://example.com/categories/t%C3%A4st++/">Täst++ (2)</a>' " $TARGET_DIR /article/täst/index.html"
99
-
102
+ testContentAndContinue ' <a href="https://example.com/archive/"><strong>Archive</strong></a> ' " $TARGET_DIR /article/täst/index.html "
100
103
# article/täst [de]
101
104
echo " ## Testing article/täst [de]"
102
105
testContentAndContinue ' <a href="https://example.com/de/categories/t%C3%A4st++/">Täst++</a>' " $TARGET_DIR /de/article/täst/index.html"
@@ -107,6 +110,7 @@ testContentAndContinue '<a href="https://example.com/article/t%C3%A4st/">en</a>'
107
110
testContentAndContinue ' <a href="https://example.com/de/article/t%C3%A4st/">de Umlauts Täst++</a>' " $TARGET_DIR /de/article/täst/index.html"
108
111
testContentAndContinue ' <p>de This is a umlauts-test in quotes äüöß++</p>' " $TARGET_DIR /de/quote/index.html"
109
112
testContentAndContinue ' <a href="https://example.com/de/categories/t%C3%A4st++/">Täst++ (2)</a>' " $TARGET_DIR /de/article/täst/index.html"
113
+ testContentAndContinue ' <a href="https://example.com/de/archive/"><strong>Archiv</strong></a>' " $TARGET_DIR /de/article/täst/index.html"
110
114
111
115
# quote/täst-quote [en]
112
116
echo " ## Testing quote/täst-quote [en]"
@@ -120,6 +124,29 @@ testContentAndContinue '<a href="/de/author/%c3%a4-%c3%9f+">
120
124
ä ß+
121
125
</a>' " $TARGET_DIR /de/quote/täst-quote/index.html"
122
126
127
+ # archive [en]
128
+ echo " ## Testing archive [en]"
129
+ testContentAndContinue ' <a class="bubble" href="https://example.com/archive/">' " $TARGET_DIR /archive/index.html"
130
+ testContentAndContinue ' <h1 class="article-title">Archive Page</h1>' " $TARGET_DIR /archive/index.html"
131
+ testContentAndContinue ' <h4>2020-05</h4>' " $TARGET_DIR /archive/index.html"
132
+ testContentAndContinue ' <a href="https://example.com/article/long-text/">long text <span>(2020-05-15)</span></a>' " $TARGET_DIR /archive/index.html"
133
+ testContentAndContinue ' <h4>2020-04</h4>' " $TARGET_DIR /archive/index.html"
134
+ testContentAndContinue ' <a href="https://example.com/article/long-text-1/">long text 1 <span>(2020-04-15)</span></a>' " $TARGET_DIR /archive/index.html"
135
+ testContentAndContinue ' <h4>2020-03</h4>' " $TARGET_DIR /archive/index.html"
136
+ testContentAndContinue ' <a href="https://example.com/article/long-text-manual-readmore/">long text manual readmore <span>(2020-03-15)</span></a>' " $TARGET_DIR /archive/index.html"
137
+ testContentAndContinue ' <h4>2020-02</h4>' " $TARGET_DIR /archive/index.html"
138
+ testContentAndContinue ' <a href="https://example.com/article/shorttextwithcode/">long text <span>(2020-02-15)</span></a>' " $TARGET_DIR /archive/index.html"
139
+ testContentAndContinue ' <h4>2020-01</h4>' " $TARGET_DIR /archive/index.html"
140
+ testContentAndContinue ' <a href="https://example.com/article/t%C3%A4st/">Umlauts Täst++ <span>(2020-01-15)</span></a>' " $TARGET_DIR /archive/index.html"
141
+ testContentAndContinue ' <a href="https://example.com/quote/t%C3%A4st-quote/">Quote Umlauts Täst++ <span>(2020-01-14)</span></a>' " $TARGET_DIR /archive/index.html"
142
+
143
+ # archive [de]
144
+ echo " ## Testing archive [de]"
145
+ testContentAndContinue ' <a class="bubble" href="https://example.com/de/archive/">' " $TARGET_DIR /de/archive/index.html"
146
+ testContentAndContinue ' <h1 class="article-title">Archivseite</h1>' " $TARGET_DIR /de/archive/index.html"
147
+ testContentAndContinue ' <h4>2020-01</h4>' " $TARGET_DIR /de/archive/index.html"
148
+ testContentAndContinue ' <a href="https://example.com/de/article/t%C3%A4st/">de Umlauts Täst++ <span>(2020-01-15)</span></a>' " $TARGET_DIR /de/archive/index.html"
149
+ testContentAndContinue ' <a href="https://example.com/de/quote/t%C3%A4st-quote/">de Quote Umlauts Täst++ <span>(2020-01-14)</span></a>' " $TARGET_DIR /de/archive/index.html"
123
150
124
151
echo " # Build stability test"
125
152
0 commit comments