richie-education 2.25.0-b2.dev170 → 2.25.0-b2.dev173

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -181,7 +181,7 @@ describe('PurchaseButton', () => {
181
181
  expect(button).toBeDisabled();
182
182
 
183
183
  // Further, a message is displayed to explain why the CTA is disabled
184
- screen.findByText('This product is full, is currently not available for sale');
184
+ await screen.findByText('There are no more places available for this product.');
185
185
  });
186
186
 
187
187
  it.each([
@@ -318,7 +318,7 @@ describe('PurchaseButton', () => {
318
318
  // No alert message
319
319
  expect(
320
320
  screen.queryByText(
321
- 'The course run is not active, this product is not currently available for sale',
321
+ 'The course run is not active. This product is not currently available for sale.',
322
322
  ),
323
323
  ).not.toBeInTheDocument();
324
324
  },
@@ -349,8 +349,8 @@ describe('PurchaseButton', () => {
349
349
  expect(button).toBeDisabled();
350
350
 
351
351
  // Further, a message is displayed to explain why the CTA is disabled
352
- screen.findByText(
353
- 'At least one course has no course runs, this product is not currently available for sale',
352
+ await screen.findByText(
353
+ 'At least one course has no course runs. This product is not currently available for sale.',
354
354
  );
355
355
  });
356
356
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "richie-education",
3
- "version": "2.25.0-b2.dev170",
3
+ "version": "2.25.0-b2.dev173",
4
4
  "description": "A CMS to build learning portals for Open Education",
5
5
  "main": "sandbox/manage.py",
6
6
  "scripts": {