mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
Update app/assets/javascripts/discourse/tests/acceptance/user-status-test.js
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
This commit is contained in:
parent
66fc9bfdda
commit
8ff1efa100
@ -222,11 +222,12 @@ acceptance("User Status", function (needs) {
|
||||
await click("#tap_tile_one_hour");
|
||||
await click(".btn-primary"); // save
|
||||
|
||||
assert.ok(
|
||||
query(".user-status-background img").title.startsWith(
|
||||
"off to <img src=''> dentist",
|
||||
assert
|
||||
.dom(".user-status-background img")
|
||||
.hasAttribute(
|
||||
"title",
|
||||
/^off to <img src=''> dentist/,
|
||||
"title is properly escaped"
|
||||
)
|
||||
);
|
||||
|
||||
await click(".header-dropdown-toggle.current-user button");
|
||||
|
Loading…
Reference in New Issue
Block a user