richie-education 2.33.0 → 2.33.1-dev3

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.
@@ -153,5 +153,5 @@ describe('AddressForm', () => {
153
153
  expect(
154
154
  getByText($countryInput.closest('.c__field')!, /This field is required./),
155
155
  ).toBeInTheDocument();
156
- });
156
+ }, 15000);
157
157
  });
@@ -177,7 +177,7 @@ describe('AddressesManagement', () => {
177
177
  ...address,
178
178
  is_main: true,
179
179
  });
180
- }, 10000);
180
+ }, 15000);
181
181
 
182
182
  it('renders a form to edit an address when user selects an address to edit', async () => {
183
183
  const address = AddressFactory().one();
@@ -169,7 +169,7 @@ describe('<AbstractContractFrame />', () => {
169
169
  await user.click(button);
170
170
 
171
171
  expect(mockOnClose).toHaveBeenCalledTimes(1);
172
- });
172
+ }, 25000);
173
173
 
174
174
  it('retrieves invitation link but fails during signature checking', async () => {
175
175
  const user = userEvent.setup();
@@ -231,7 +231,7 @@ describe('<AbstractContractFrame />', () => {
231
231
  await user.click(button);
232
232
 
233
233
  expect(mockOnClose).toHaveBeenCalledTimes(1);
234
- });
234
+ }, 25000);
235
235
 
236
236
  it('retrieves invitation link but exceeds polling max attemps', async () => {
237
237
  const user = userEvent.setup();
@@ -133,7 +133,7 @@ describe('AddressSelector', () => {
133
133
  'Billing address' + getAddressLabel(address) + 'closearrow_drop_down',
134
134
  );
135
135
  });
136
- });
136
+ }, 15000);
137
137
  it('has an existing main billing address and choose another', async () => {
138
138
  const address = AddressFactory({
139
139
  is_main: true,
@@ -268,5 +268,5 @@ describe('AddressSelector', () => {
268
268
  'Billing address' + getAddressLabel(newAddress) + 'closearrow_drop_down',
269
269
  ),
270
270
  );
271
- });
271
+ }, 15000);
272
272
  });
@@ -381,5 +381,5 @@ describe('SaleTunnel', () => {
381
381
  // This way we make sure the cache is updated.
382
382
  await screen.findByText('Purchased');
383
383
  expect(screen.queryByRole('button', { name: product.call_to_action })).not.toBeInTheDocument();
384
- }, 10000);
384
+ }, 15000);
385
385
  });
@@ -82,7 +82,7 @@ describe('useCourseProductUnion', () => {
82
82
  `${coursesUrl}?has_listed_course_runs=true&page=1&page_size=${PER_PAGE}`,
83
83
  );
84
84
  expect(calledUrls).toContain(`${courseProductRelationsUrl}?page=1&page_size=${PER_PAGE}`);
85
- });
85
+ }, 25000);
86
86
 
87
87
  it('should call organization courses and organization coursesProductRelation endpoints', async () => {
88
88
  const organizationId = 'DUMMY_ORGANIZATION_ID';
@@ -170,7 +170,7 @@ describe('<DashboardCreateAddress/>', () => {
170
170
  await waitFor(() => {
171
171
  expect(screen.getByText('Billing addresses')).toBeInTheDocument();
172
172
  });
173
- });
173
+ }, 15000);
174
174
 
175
175
  it('shows an error in case of API error', async () => {
176
176
  fetchMock.get('https://joanie.endpoint/api/v1.0/addresses/', []);
@@ -210,5 +210,5 @@ describe('<DashboardCreateAddress/>', () => {
210
210
  ).toBe(true);
211
211
 
212
212
  await expectBannerError('An error occurred while creating the address. Please retry later.');
213
- });
213
+ }, 15000);
214
214
  });
@@ -231,7 +231,7 @@ describe('<DashboardCourses/>', () => {
231
231
  await waitFor(() => expectList(entities.slice(0, perPage * 3), relations), { timeout: 30000 });
232
232
  loadMoreButton = await screen.findByRole('button', { name: 'Load more' });
233
233
  expect(loadMoreButton).toBeEnabled();
234
- });
234
+ }, 15000);
235
235
 
236
236
  it('shows an error', async () => {
237
237
  jest.spyOn(console, 'error').mockImplementation(noop);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "richie-education",
3
- "version": "2.33.0",
3
+ "version": "2.33.1-dev3",
4
4
  "description": "A CMS to build learning portals for Open Education",
5
5
  "main": "sandbox/manage.py",
6
6
  "scripts": {