mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
FIX: editing a post wasn't showing error messages from the server
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
integration("User Card");
|
||||
|
||||
test("card", function() {
|
||||
test("card", () => {
|
||||
visit('/');
|
||||
|
||||
ok(invisible('#user-card'), 'user card is invisible by default');
|
||||
click('a[data-user-card=eviltrout]:first');
|
||||
|
||||
andThen(function() {
|
||||
andThen(() => {
|
||||
ok(visible('#user-card'), 'card should appear');
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user