From cc2d857d16def0cda050b462ca4c3b5b2c206729 Mon Sep 17 00:00:00 2001 From: Xabi Date: Thu, 18 Apr 2024 12:05:00 +0200 Subject: [PATCH] Sustituir componentes eliminados por rup_select --- spec/list/rup.list.a11y.js | 3 +-- spec/list/rup.list.spec.js | 7 +++---- spec/select/rup.selectAutocomplete.spec.js | 1 - 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/spec/list/rup.list.a11y.js b/spec/list/rup.list.a11y.js index 160f436cc..899e36ad8 100644 --- a/spec/list/rup.list.a11y.js +++ b/spec/list/rup.list.a11y.js @@ -2,12 +2,11 @@ import 'jquery'; import 'jasmine-jquery'; import 'rup.feedback'; -import 'rup.combo'; import 'rup.form'; import 'rup.list'; import 'rup.dialog'; import 'rup.button'; -import 'rup.autocomplete'; +import 'rup.select'; import 'bootstrap'; import * as listGen from './listCreator'; diff --git a/spec/list/rup.list.spec.js b/spec/list/rup.list.spec.js index f7943df93..85ae46b0e 100644 --- a/spec/list/rup.list.spec.js +++ b/spec/list/rup.list.spec.js @@ -2,12 +2,11 @@ import 'jquery'; import 'jasmine-jquery'; import 'rup.feedback'; -import 'rup.combo'; import 'rup.form'; import 'rup.list'; import 'rup.dialog'; import 'rup.button'; -import 'rup.autocomplete'; +import 'rup.select'; import 'bootstrap'; import * as testutils from '../common/specCommonUtils.js'; import * as listGen from './listCreator'; @@ -79,7 +78,7 @@ describe('Test rup_list', () => { beforeEach((done) => { listGen.createList('rup-list', 'listFilterForm', () => { $('#rup-list').on('load', () => { - $('#rup-list-header-sidx').rup_combo('setRupValue', 'EDAD'); + $('#rup-list-header-sidx').rup_select('setRupValue', 'EDAD'); $('#rup-list').off('load'); $('#rup-list').on('load', () => { done(); @@ -216,7 +215,7 @@ describe('Test rup_list', () => { $('#rup-list').on('load', () => { done(); }); - $('#rup-list-header-rowNum').rup_combo('setRupValue', '10'); + $('#rup-list-header-rowNum').rup_select('setRupValue', '10'); }); $('#rup-list').rup_list('filter'); }); diff --git a/spec/select/rup.selectAutocomplete.spec.js b/spec/select/rup.selectAutocomplete.spec.js index 008a2ba58..f22d808f7 100644 --- a/spec/select/rup.selectAutocomplete.spec.js +++ b/spec/select/rup.selectAutocomplete.spec.js @@ -4,7 +4,6 @@ import 'jquery'; import * as testutils from '../common/specCommonUtils.js'; import 'jasmine-jquery'; -import 'rup.autocomplete'; var $autocomplete, $autocomplete2, $autocomplete3, $autocompleteLabel, $autocompleteLabel2, $autocompleteLabel3;