mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -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,12 +222,13 @@ 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");
|
||||
await click("#user-menu-button-profile");
|
||||
|
Loading…
Reference in New Issue
Block a user