FEATURE: adds an API to register topic footer buttons

This commit is contained in:
Joffrey JAFFEUX
2019-02-07 14:43:33 +01:00
committed by GitHub
parent 92c52c0724
commit 6c195640b9
15 changed files with 592 additions and 180 deletions

View File

@ -36,27 +36,11 @@ componentTest("default", {
.value(),
null
);
assert.equal(
this.get("subject")
.rowByIndex(0)
.name(),
"Bookmark"
);
assert.equal(
this.get("subject")
.rowByIndex(1)
.name(),
"Share"
);
assert.notOk(
this.get("subject")
.selectedRow()
.exists(),
"it doesn’t preselect first row"
);
await this.get("subject").selectRowByValue("share");
assert.equal(this.get("value"), null, "it resets the value");
}
});