Skip to content

Commit 96693c8

Browse files
committed
fix tests
1 parent 704f6dc commit 96693c8

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

static/gsAdmin/components/customers/customerOverview.spec.tsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ describe('CustomerOverview', function () {
367367
expect(screen.queryByText('Seer:')).not.toBeInTheDocument();
368368
});
369369

370-
it('renders no product trials for non-self-serve account', function () {
370+
it('renders product trials for non-self-serve account', function () {
371371
const organization = OrganizationFixture();
372372
const enterprise_subscription = SubscriptionFixture({
373373
organization,
@@ -384,12 +384,9 @@ describe('CustomerOverview', function () {
384384
/>
385385
);
386386

387-
expect(screen.queryByText('Product Trials')).not.toBeInTheDocument();
388-
expect(screen.queryByText('Replays:')).not.toBeInTheDocument();
389-
expect(screen.queryByText('Spans:')).not.toBeInTheDocument();
390-
expect(screen.queryByText('Performance Units:')).not.toBeInTheDocument();
391-
expect(screen.queryByText('Transactions:')).not.toBeInTheDocument();
392-
expect(screen.queryByText('Seer:')).not.toBeInTheDocument();
387+
expect(screen.getByText('Product Trials')).toBeInTheDocument();
388+
expect(screen.getByText('Spans:')).toBeInTheDocument();
389+
expect(screen.getByText('Seer:')).toBeInTheDocument();
393390
});
394391

395392
it('render product trials for am1 account', function () {

0 commit comments

Comments
 (0)