Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenwerk committed Dec 27, 2024
1 parent 80feab7 commit 6379c16
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/host/tests/acceptance/commands-test.gts
Original file line number Diff line number Diff line change
Expand Up @@ -602,9 +602,10 @@ module('Acceptance | Commands tests', function (hooks) {
event_id: '__EVENT_ID__',
},
});
await delay(500);

assert.dom('[data-test-submode-switcher=interact]').exists();
await click('[data-test-open-ai-assistant]');
await waitFor(`[data-room-settled]`);
assert
.dom(
'[data-test-message-idx="0"][data-test-boxel-message-from="testuser"]',
Expand All @@ -622,7 +623,7 @@ module('Acceptance | Commands tests', function (hooks) {
assert.dom('[data-test-card-url-bar-input]').hasValue(`${testCard}.json`);
await click('[data-test-submode-switcher] button');
await click('[data-test-boxel-menu-item-text="Interact"]');
await click('[data-test-open-ai-assistant]');

assert
.dom(
'[data-test-message-idx="0"][data-test-boxel-message-from="testuser"]',
Expand Down

0 comments on commit 6379c16

Please sign in to comment.