Skip to content

Comments

Add acceptance and rest integration test#19

Merged
richardhjtan merged 3 commits intomainfrom
acceptance-test
Feb 9, 2026
Merged

Add acceptance and rest integration test#19
richardhjtan merged 3 commits intomainfrom
acceptance-test

Conversation

@richardhjtan
Copy link
Collaborator

@richardhjtan richardhjtan commented Feb 4, 2026

  • add catalog-related acceptance test into boxel-catalog
  • add the rest of the integration test into boxel-catalog
  • test-wait-for-servers script to wait CATALOG_REALM_URL to be ready, monorepo will be removed after this
  • CI Test to also run Acceptance Test

@richardhjtan richardhjtan force-pushed the acceptance-test branch 5 times, most recently from 48611d1 to 3a4c15b Compare February 4, 2026 08:02
@richardhjtan richardhjtan marked this pull request as ready for review February 4, 2026 08:22
@richardhjtan richardhjtan requested a review from a team February 5, 2026 07:24
Comment on lines +73 to +75
# Overwrite the test-wait-for-server script to include catalog server start
cp boxel-catalog-src/scripts/test-wait-for-servers.sh packages/host/scripts/test-wait-for-servers.sh

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why doesn't this just use the script provided?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In monorepo PR we remove to wait catalog realm to be ready before test.

For boxel-catalog, we should wait catalog realm ready before test hence we overwrite with this file


// CS-9919 - Skipping this test for now as the catalog realm is now setup only in
// part for speed in host tests.
skip('visiting /catalog/ renders the catalog index card', async function (assert) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we shud unskip this right

import { getService } from '@universal-ember/test-support';
import { module, test } from 'qunit';

import SetUserSystemCardCommand from '@cardstack/host/commands/set-user-system-card';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test just seems like a simple command that is tapping into matrix. It doesn't depend on the system card I dont think

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree. I will remain this is monorepo

Copy link
Contributor

@tintinthong tintinthong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made few comments

@richardhjtan richardhjtan force-pushed the acceptance-test branch 4 times, most recently from f48b51f to 0b5096f Compare February 9, 2026 07:25
@richardhjtan
Copy link
Collaborator Author

@tintinthong I will skip a test for now because it keeps failing at CI despite it works locally. I have ticket this up

@richardhjtan richardhjtan merged commit f6fbb65 into main Feb 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants