@@ -910,7 +910,7 @@ module('Integration | operator-mode', function (hooks) {
910
910
.exists ();
911
911
});
912
912
913
- test (' it allows only applies changes from the chat if the stack contains a card with that ID' , async function (assert ) {
913
+ test (' it only applies changes from the chat if the stack contains a card with that ID' , async function (assert ) {
914
914
await setCardInOperatorModeState (` ${testRealmURL }Person/fadhlan ` );
915
915
await renderComponent (
916
916
class TestDriver extends GlimmerComponent {
@@ -965,7 +965,9 @@ module('Integration | operator-mode', function (hooks) {
965
965
assert .dom (' [data-test-ai-bot-retry-button]' ).exists ();
966
966
assert .dom (' [data-test-command-apply]' ).doesNotExist ();
967
967
assert .dom (' [data-test-person]' ).hasText (' Fadhlan' );
968
- await percySnapshot (assert );
968
+ await percySnapshot (
969
+ ' Integration | operator-mode > matrix | it only applies changes from the chat if the stack contains a card with that ID | error' ,
970
+ );
969
971
970
972
await setCardInOperatorModeState (otherCardID );
971
973
await waitFor (' [data-test-person="Burcu"]' );
@@ -977,7 +979,9 @@ module('Integration | operator-mode', function (hooks) {
977
979
assert .dom (' [data-test-person]' ).hasText (' Dave' );
978
980
assert .dom (' [data-test-command-apply]' ).doesNotExist ();
979
981
assert .dom (' [data-test-ai-bot-retry-button]' ).doesNotExist ();
980
- await percySnapshot (assert );
982
+ await percySnapshot (
983
+ ' Integration | operator-mode > matrix | it only applies changes from the chat if the stack contains a card with that ID | error fixed' ,
984
+ );
981
985
});
982
986
983
987
test (' it can apply change to nested contains field' , async function (assert ) {
@@ -1358,14 +1362,18 @@ module('Integration | operator-mode', function (hooks) {
1358
1362
assert .dom (' [data-test-room-error]' ).exists ();
1359
1363
assert .dom (' [data-test-room]' ).doesNotExist ();
1360
1364
assert .dom (' [data-test-past-sessions-button]' ).isDisabled ();
1361
- await percySnapshot (assert ); // error state
1365
+ await percySnapshot (
1366
+ ' Integration | operator-mode > matrix | it can handle an error during room creation | error state' ,
1367
+ );
1362
1368
1363
1369
document .querySelector (' [data-test-throw-room-error]' )?.remove ();
1364
1370
await click (' [data-test-room-error] > button' );
1365
1371
await waitFor (' [data-test-room]' );
1366
1372
assert .dom (' [data-test-room-error]' ).doesNotExist ();
1367
1373
assert .dom (' [data-test-past-sessions-button]' ).isEnabled ();
1368
- await percySnapshot (assert ); // new room state
1374
+ await percySnapshot (
1375
+ ' Integration | operator-mode > matrix | it can handle an error during room creation | new room state' ,
1376
+ );
1369
1377
});
1370
1378
1371
1379
test (' when opening ai panel it opens the most recent room' , async function (assert ) {
0 commit comments