Skip to content

Commit 528dd2a

Browse files
committed
fix tests
1 parent 673af2a commit 528dd2a

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Diff for: packages/host/tests/acceptance/code-submode/create-file-test.gts

+3-3
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ module('Acceptance | code submode | create-file tests', function (hooks) {
430430
);
431431
assert
432432
.dom('[data-test-code-mode-card-preview-header] img')
433-
.hasAttribute('alt', 'Icon for realm Test Workspace A');
433+
.hasAttribute('alt', 'Icon for workspace Test Workspace A');
434434
assert.dom('[data-test-card-resource-loaded]').containsText('Card');
435435
assert.dom('[data-test-field="title"] input').hasValue('');
436436
assert.dom('[data-test-card-url-bar-input]').hasValue(`${fileURL}.json`);
@@ -487,7 +487,7 @@ module('Acceptance | code submode | create-file tests', function (hooks) {
487487
await waitFor(`[data-test-code-mode-card-preview-header="${fileID}"]`);
488488
assert
489489
.dom('[data-test-code-mode-card-preview-header] img')
490-
.hasAttribute('alt', 'Icon for realm Test Workspace B');
490+
.hasAttribute('alt', 'Icon for workspace Test Workspace B');
491491
assert.dom('[data-test-card-resource-loaded]').containsText('Card');
492492
assert.dom('[data-test-field="title"] input').hasValue('');
493493
assert.dom('[data-test-card-url-bar-input]').hasValue(`${fileID}.json`);
@@ -551,7 +551,7 @@ module('Acceptance | code submode | create-file tests', function (hooks) {
551551
await waitFor(`[data-test-code-mode-card-preview-header="${fileID}"]`);
552552
assert
553553
.dom('[data-test-code-mode-card-preview-header] img')
554-
.hasAttribute('alt', 'Icon for realm Test Workspace B');
554+
.hasAttribute('alt', 'Icon for workspace Test Workspace B');
555555
assert.dom('[data-test-card-resource-loaded]').containsText('Person');
556556
assert.dom('[data-test-field="firstName"] input').hasValue('');
557557
assert.dom('[data-test-card-url-bar-input]').hasValue(`${fileID}.json`);

Diff for: packages/host/tests/acceptance/code-submode/inspector-test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ module('Acceptance | code submode | inspector tests', function (hooks) {
871871
assert.dom('[data-test-card-resource-loaded]').containsText('Pet');
872872
assert
873873
.dom(`[data-test-code-mode-card-preview-header="${id}"] .icon`)
874-
.hasAttribute('alt', 'Icon for realm Test Workspace B');
874+
.hasAttribute('alt', 'Icon for workspace Test Workspace B');
875875
assert.dom('[data-test-field="name"] input').hasValue('Van Gogh');
876876
assert.dom('[data-test-card-url-bar-input]').hasValue(`${id}.json`);
877877
});
@@ -932,7 +932,7 @@ module('Acceptance | code submode | inspector tests', function (hooks) {
932932
assert.dom('[data-test-card-resource-loaded]').containsText('Pet');
933933
assert
934934
.dom(`[data-test-code-mode-card-preview-header="${id}"] .icon`)
935-
.hasAttribute('alt', 'Icon for realm Test Workspace A');
935+
.hasAttribute('alt', 'Icon for workspace Test Workspace A');
936936
assert.dom('[data-test-field="name"] input').hasValue('Van Gogh');
937937
assert.dom('[data-test-card-url-bar-input]').hasValue(`${id}.json`);
938938
});

Diff for: packages/host/tests/acceptance/code-submode/recent-files-test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ module('Acceptance | code submode | recent files tests', function (hooks) {
316316
assert
317317
.dom('[data-test-recent-file]:nth-child(1) [data-test-realm-icon-url]')
318318
.hasAttribute('src', 'https://i.postimg.cc/L8yXRvws/icon.png')
319-
.hasAttribute('alt', 'Icon for realm Test Workspace B');
319+
.hasAttribute('alt', 'Icon for workspace Test Workspace B');
320320

321321
await waitFor(
322322
'[data-test-recent-file]:nth-child(2) [data-test-realm-icon-url]',
@@ -515,7 +515,7 @@ module('Acceptance | code submode | recent files tests', function (hooks) {
515515
assert
516516
.dom('[data-test-recent-file]:nth-child(1) [data-test-realm-icon-url]')
517517
.hasAttribute('src', 'https://i.postimg.cc/d0B9qMvy/icon.png')
518-
.hasAttribute('alt', 'Icon for realm Base Workspace');
518+
.hasAttribute('alt', 'Icon for workspace Base Workspace');
519519

520520
await waitFor(
521521
'[data-test-recent-file]:nth-child(2) [data-test-realm-icon-url]',

0 commit comments

Comments
 (0)