update classes
This commit is contained in:
parent
1658c61287
commit
bb4bdec3c8
|
@ -153,7 +153,7 @@
|
|||
font-weight: normal;
|
||||
font-size: $font-down-1;
|
||||
}
|
||||
.docs-topic-link {
|
||||
.raw-topic-link {
|
||||
color: var(--tertiary);
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
.docs-topic-list {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
.docs-topic-link {
|
||||
.raw-topic-link {
|
||||
padding-right: 0.25em;
|
||||
}
|
||||
.docs-topic {
|
||||
|
|
|
@ -16,8 +16,8 @@ describe "Discourse Docs | Index", type: :system do
|
|||
|
||||
it "does not error when showing the index" do
|
||||
visit("/docs")
|
||||
expect(page).to have_css(".docs-topic-link", text: topic_1.title)
|
||||
expect(page).to have_css(".docs-topic-link", text: topic_2.title)
|
||||
expect(page).to have_css(".raw-topic-link", text: topic_1.title)
|
||||
expect(page).to have_css(".raw-topic-link", text: topic_2.title)
|
||||
end
|
||||
|
||||
describe "topic excerpts" do
|
||||
|
|
|
@ -57,10 +57,7 @@ acceptance("Docs", function (needs) {
|
|||
assert.equal(query(".docs-category .docs-item-count").innerText, "119");
|
||||
assert.equal(query(".docs-tag .docs-item-id").innerText, "something");
|
||||
assert.equal(query(".docs-tag .docs-item-count").innerText, "74");
|
||||
assert.equal(
|
||||
query(".docs-topic-link").innerText.trim(),
|
||||
"Importing from Software X"
|
||||
);
|
||||
assert.dom(".raw-topic-link").hasText("Importing from Software X");
|
||||
});
|
||||
|
||||
test("selecting a category", async function (assert) {
|
||||
|
|
Loading…
Reference in New Issue