sr-npm 1.7.723 → 1.7.724

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.723",
3
+ "version": "1.7.724",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -383,6 +383,8 @@ function secondarySearch(_$w,query) {
383
383
  pagination.currentPage=1;
384
384
  handlePaginationButtons(_$w,true);
385
385
  updateTotalJobsCountText(_$w,true);
386
+ console.log("_$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.JOBS_REPEATER).data : ", _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.JOBS_REPEATER).data);
387
+ return _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.JOBS_REPEATER).data
386
388
  }
387
389
  function bindSearchInput(_$w) {
388
390
  const primarySearchDebounced = debounce(() => {
@@ -0,0 +1,24 @@
1
+ const { executeApiRequest } = require('tests-utils');
2
+ const { clearCollections } = require('./testsUtils');
3
+ const { TEMPLATE_TYPE } = require('./consts');
4
+
5
+ beforeAll(async () => {
6
+ clearCollections();
7
+ });
8
+
9
+
10
+ it.each([
11
+ { templateName: 'Internal', templateType: TEMPLATE_TYPE.INTERNAL },
12
+ { templateName: 'External', templateType: TEMPLATE_TYPE.EXTERNAL },
13
+ ])('should successfully mark template as $templateName', async ({ templateName,templateType }) => {
14
+ const requestBody = `markTemplateAs${templateName}();`;
15
+ const response = await executeApiRequest(requestBody);
16
+ expect(response.status).toBe(200);
17
+ expect(response.data).toBeDefined();
18
+ expect(response.data.result.templateType).toBe(templateType);
19
+ });
20
+
21
+
22
+
23
+
24
+