DEV: Update tests after changes in core (#103)
This commit is contained in:
parent
fc2750e1d1
commit
2589e82212
|
@ -21,6 +21,10 @@ acceptance("Docs - Sidebar with docs disabled", function (needs) {
|
|||
test("docs sidebar link is hidden", async function (assert) {
|
||||
await visit("/");
|
||||
|
||||
await click(
|
||||
".sidebar-section-community .sidebar-more-section-links-details-summary"
|
||||
);
|
||||
|
||||
assert.ok(
|
||||
!exists(".sidebar-section-link-docs"),
|
||||
"it does not display the docs link in sidebar"
|
||||
|
@ -44,6 +48,10 @@ acceptance("Docs - Sidebar with docs enabled", function (needs) {
|
|||
test("clicking on docs link", async function (assert) {
|
||||
await visit("/");
|
||||
|
||||
await click(
|
||||
".sidebar-section-community .sidebar-more-section-links-details-summary"
|
||||
);
|
||||
|
||||
assert.strictEqual(
|
||||
query(".sidebar-section-link-docs").textContent.trim(),
|
||||
I18n.t("sidebar.docs_link_text"),
|
||||
|
|
Loading…
Reference in New Issue