From 8b7d2062c50098a09a4447754f29601e7a6fe2cd Mon Sep 17 00:00:00 2001 From: Carlos Jimenez <=> Date: Thu, 2 Aug 2018 14:04:46 +0200 Subject: [PATCH] update extension name countSearchResult to be countElement --- e2e/paths/client-module/01_create_client.spec.js | 4 ++-- e2e/paths/client-module/02_edit_basic_data.spec.js | 2 +- e2e/paths/client-module/03_edit_fiscal_data.spec.js | 2 +- e2e/paths/client-module/04_edit_pay_method.spec.js | 2 +- e2e/paths/client-module/05_add_address.spec.js | 2 +- e2e/paths/client-module/06_add_address_notes.spec.js | 2 +- e2e/paths/client-module/07_edit_web_access.spec.js | 2 +- e2e/paths/client-module/08_add_notes.spec.js | 2 +- e2e/paths/client-module/09_add_credit.spec.js | 2 +- e2e/paths/client-module/10_add_greuge.spec.js | 2 +- e2e/paths/client-module/11_mandate.spec.js | 2 +- .../client-module/12_lock_of_verified_data.spec.js | 10 +++++----- e2e/paths/client-module/13_invoices.spec.js | 2 +- e2e/paths/item-module/01_item_summary.spec.js | 2 +- e2e/paths/item-module/02_edit_item_basic_data.spec.js | 2 +- e2e/paths/item-module/03_edit_item_tax.spec.js | 2 +- e2e/paths/item-module/04_create_item_tags.spec.js | 2 +- e2e/paths/item-module/05_create_item_niche.spec.js | 2 +- e2e/paths/item-module/06_create_item_botanical.spec.js | 2 +- e2e/paths/item-module/07_create_item_barcode.spec.js | 2 +- e2e/paths/item-module/08_item_create_and_clone.spec.js | 6 +++--- .../01_create_ticket_observations.spec.js | 2 +- .../ticket-module/02_delete_ticket_expeditions.spec.js | 2 +- e2e/paths/ticket-module/03_list_sale.spec.js | 2 +- .../ticket-module/04_create_ticket_packages.spec.js | 2 +- .../ticket-module/05_create_new_tracking_state.spec.js | 4 ++-- 26 files changed, 34 insertions(+), 34 deletions(-) diff --git a/e2e/paths/client-module/01_create_client.spec.js b/e2e/paths/client-module/01_create_client.spec.js index 531a41b00..742614341 100644 --- a/e2e/paths/client-module/01_create_client.spec.js +++ b/e2e/paths/client-module/01_create_client.spec.js @@ -26,7 +26,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Carol Danvers') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 0) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(0); }); @@ -127,7 +127,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Carol Danvers') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 1) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/client-module/02_edit_basic_data.spec.js b/e2e/paths/client-module/02_edit_basic_data.spec.js index c1645cc21..4bee3ea26 100644 --- a/e2e/paths/client-module/02_edit_basic_data.spec.js +++ b/e2e/paths/client-module/02_edit_basic_data.spec.js @@ -28,7 +28,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Bruce Wayne') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 1) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/client-module/03_edit_fiscal_data.spec.js b/e2e/paths/client-module/03_edit_fiscal_data.spec.js index d5d809715..ad57f39ae 100644 --- a/e2e/paths/client-module/03_edit_fiscal_data.spec.js +++ b/e2e/paths/client-module/03_edit_fiscal_data.spec.js @@ -28,7 +28,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Bruce Banner') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 1) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/client-module/04_edit_pay_method.spec.js b/e2e/paths/client-module/04_edit_pay_method.spec.js index d0ca3f2ed..11f61ea44 100644 --- a/e2e/paths/client-module/04_edit_pay_method.spec.js +++ b/e2e/paths/client-module/04_edit_pay_method.spec.js @@ -28,7 +28,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Bruce Banner') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 1) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/client-module/05_add_address.spec.js b/e2e/paths/client-module/05_add_address.spec.js index 63f58a138..f773c02d8 100644 --- a/e2e/paths/client-module/05_add_address.spec.js +++ b/e2e/paths/client-module/05_add_address.spec.js @@ -28,7 +28,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Bruce Banner') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 1) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/client-module/06_add_address_notes.spec.js b/e2e/paths/client-module/06_add_address_notes.spec.js index ac8bca29f..7f224089d 100644 --- a/e2e/paths/client-module/06_add_address_notes.spec.js +++ b/e2e/paths/client-module/06_add_address_notes.spec.js @@ -28,7 +28,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Petter Parker') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 1) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/client-module/07_edit_web_access.spec.js b/e2e/paths/client-module/07_edit_web_access.spec.js index d0b3f7e94..202a81d1c 100644 --- a/e2e/paths/client-module/07_edit_web_access.spec.js +++ b/e2e/paths/client-module/07_edit_web_access.spec.js @@ -28,7 +28,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Bruce Banner') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 1) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/client-module/08_add_notes.spec.js b/e2e/paths/client-module/08_add_notes.spec.js index 763bf8ea1..fa19431d4 100644 --- a/e2e/paths/client-module/08_add_notes.spec.js +++ b/e2e/paths/client-module/08_add_notes.spec.js @@ -28,7 +28,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Bruce Banner') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 1) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/client-module/09_add_credit.spec.js b/e2e/paths/client-module/09_add_credit.spec.js index 2f5366ead..358a0305b 100644 --- a/e2e/paths/client-module/09_add_credit.spec.js +++ b/e2e/paths/client-module/09_add_credit.spec.js @@ -28,7 +28,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Ororo Munroe') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 1) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/client-module/10_add_greuge.spec.js b/e2e/paths/client-module/10_add_greuge.spec.js index 2eb01b270..cc7f827d2 100644 --- a/e2e/paths/client-module/10_add_greuge.spec.js +++ b/e2e/paths/client-module/10_add_greuge.spec.js @@ -28,7 +28,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Petter Parker') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 1) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/client-module/11_mandate.spec.js b/e2e/paths/client-module/11_mandate.spec.js index 500aeb521..d69955db4 100644 --- a/e2e/paths/client-module/11_mandate.spec.js +++ b/e2e/paths/client-module/11_mandate.spec.js @@ -28,7 +28,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Petter Parker') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 1) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/client-module/12_lock_of_verified_data.spec.js b/e2e/paths/client-module/12_lock_of_verified_data.spec.js index 0e9ee4ecb..d2816829e 100644 --- a/e2e/paths/client-module/12_lock_of_verified_data.spec.js +++ b/e2e/paths/client-module/12_lock_of_verified_data.spec.js @@ -29,7 +29,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Petter Parker') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 1) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); @@ -119,7 +119,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Petter Parker') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 1) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); @@ -232,7 +232,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Petter Parker') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 1) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); @@ -308,7 +308,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Petter Parker') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 1) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); @@ -421,7 +421,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Petter Parker') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 1) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/client-module/13_invoices.spec.js b/e2e/paths/client-module/13_invoices.spec.js index aabbd2973..3657969c7 100644 --- a/e2e/paths/client-module/13_invoices.spec.js +++ b/e2e/paths/client-module/13_invoices.spec.js @@ -28,7 +28,7 @@ describe('Client', () => { .type(selectors.clientsIndex.searchClientInput, 'Petter Parker') .click(selectors.clientsIndex.searchButton) .waitForNumberOfElements(selectors.clientsIndex.searchResult, 1) - .countSearchResults(selectors.clientsIndex.searchResult) + .countElement(selectors.clientsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/item-module/01_item_summary.spec.js b/e2e/paths/item-module/01_item_summary.spec.js index 14bcf6200..de2cdbbc7 100644 --- a/e2e/paths/item-module/01_item_summary.spec.js +++ b/e2e/paths/item-module/01_item_summary.spec.js @@ -26,7 +26,7 @@ describe('Item', () => { .type(selectors.itemsIndex.searchItemInput, 'Gem of Time') .click(selectors.itemsIndex.searchButton) .waitForNumberOfElements(selectors.itemsIndex.searchResult, 1) - .countSearchResults(selectors.itemsIndex.searchResult) + .countElement(selectors.itemsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/item-module/02_edit_item_basic_data.spec.js b/e2e/paths/item-module/02_edit_item_basic_data.spec.js index 94e916e9f..3a1bde0b1 100644 --- a/e2e/paths/item-module/02_edit_item_basic_data.spec.js +++ b/e2e/paths/item-module/02_edit_item_basic_data.spec.js @@ -26,7 +26,7 @@ describe('Item', () => { .type(selectors.itemsIndex.searchItemInput, 'Gem of Mind') .click(selectors.itemsIndex.searchButton) .waitForNumberOfElements(selectors.itemsIndex.searchResult, 1) - .countSearchResults(selectors.itemsIndex.searchResult) + .countElement(selectors.itemsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/item-module/03_edit_item_tax.spec.js b/e2e/paths/item-module/03_edit_item_tax.spec.js index ce2160fb7..63f66c38d 100644 --- a/e2e/paths/item-module/03_edit_item_tax.spec.js +++ b/e2e/paths/item-module/03_edit_item_tax.spec.js @@ -26,7 +26,7 @@ describe('Item', () => { .type(selectors.itemsIndex.searchItemInput, 'Gem of Time') .click(selectors.itemsIndex.searchButton) .waitForNumberOfElements(selectors.itemsIndex.searchResult, 1) - .countSearchResults(selectors.itemsIndex.searchResult) + .countElement(selectors.itemsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/item-module/04_create_item_tags.spec.js b/e2e/paths/item-module/04_create_item_tags.spec.js index 3310049e3..3cf36fca7 100644 --- a/e2e/paths/item-module/04_create_item_tags.spec.js +++ b/e2e/paths/item-module/04_create_item_tags.spec.js @@ -26,7 +26,7 @@ describe('Item', () => { .type(selectors.itemsIndex.searchItemInput, 'Gem of Time') .click(selectors.itemsIndex.searchButton) .waitForNumberOfElements(selectors.itemsIndex.searchResult, 1) - .countSearchResults(selectors.itemsIndex.searchResult) + .countElement(selectors.itemsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/item-module/05_create_item_niche.spec.js b/e2e/paths/item-module/05_create_item_niche.spec.js index cedd35d2d..a81348120 100644 --- a/e2e/paths/item-module/05_create_item_niche.spec.js +++ b/e2e/paths/item-module/05_create_item_niche.spec.js @@ -26,7 +26,7 @@ describe('Item', () => { .type(selectors.itemsIndex.searchItemInput, 'Gem of Time') .click(selectors.itemsIndex.searchButton) .waitForNumberOfElements(selectors.itemsIndex.searchResult, 1) - .countSearchResults(selectors.itemsIndex.searchResult) + .countElement(selectors.itemsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/item-module/06_create_item_botanical.spec.js b/e2e/paths/item-module/06_create_item_botanical.spec.js index 0df217152..c06376365 100644 --- a/e2e/paths/item-module/06_create_item_botanical.spec.js +++ b/e2e/paths/item-module/06_create_item_botanical.spec.js @@ -26,7 +26,7 @@ describe('Item', () => { .type(selectors.itemsIndex.searchItemInput, 'Mjolnir') .click(selectors.itemsIndex.searchButton) .waitForNumberOfElements(selectors.itemsIndex.searchResult, 1) - .countSearchResults(selectors.itemsIndex.searchResult) + .countElement(selectors.itemsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/item-module/07_create_item_barcode.spec.js b/e2e/paths/item-module/07_create_item_barcode.spec.js index 563eed7f6..2a15b0dc4 100644 --- a/e2e/paths/item-module/07_create_item_barcode.spec.js +++ b/e2e/paths/item-module/07_create_item_barcode.spec.js @@ -26,7 +26,7 @@ describe('Item', () => { .type(selectors.itemsIndex.searchItemInput, 'Gem of Time') .click(selectors.itemsIndex.searchButton) .waitForNumberOfElements(selectors.itemsIndex.searchResult, 1) - .countSearchResults(selectors.itemsIndex.searchResult) + .countElement(selectors.itemsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/item-module/08_item_create_and_clone.spec.js b/e2e/paths/item-module/08_item_create_and_clone.spec.js index 91d624f75..706977ac9 100644 --- a/e2e/paths/item-module/08_item_create_and_clone.spec.js +++ b/e2e/paths/item-module/08_item_create_and_clone.spec.js @@ -25,7 +25,7 @@ describe('Item', () => { .type(selectors.itemsIndex.searchItemInput, 'Infinity Gauntlet') .click(selectors.itemsIndex.searchButton) .waitForNumberOfElements(selectors.itemsIndex.searchResult, 0) - .countSearchResults(selectors.itemsIndex.searchResult) + .countElement(selectors.itemsIndex.searchResult) .then(result => { expect(result).toEqual(0); }); @@ -120,7 +120,7 @@ describe('Item', () => { .type(selectors.itemsIndex.searchItemInput, 'Infinity Gauntlet') .click(selectors.itemsIndex.searchButton) .waitForNumberOfElements(selectors.itemsIndex.searchResult, 1) - .countSearchResults(selectors.itemsIndex.searchResult) + .countElement(selectors.itemsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); @@ -145,7 +145,7 @@ describe('Item', () => { .type(selectors.itemsIndex.searchItemInput, 'Infinity Gauntlet') .click(selectors.itemsIndex.searchButton) .waitForNumberOfElements(selectors.itemsIndex.searchResult, 2) - .countSearchResults(selectors.itemsIndex.searchResult) + .countElement(selectors.itemsIndex.searchResult) .then(result => { expect(result).toEqual(2); }); diff --git a/e2e/paths/ticket-module/01_create_ticket_observations.spec.js b/e2e/paths/ticket-module/01_create_ticket_observations.spec.js index 0604abc4f..7663b9f02 100644 --- a/e2e/paths/ticket-module/01_create_ticket_observations.spec.js +++ b/e2e/paths/ticket-module/01_create_ticket_observations.spec.js @@ -26,7 +26,7 @@ describe('Ticket', () => { .type(selectors.ticketsIndex.searchTicketInput, 'id:1') .click(selectors.ticketsIndex.searchButton) .waitForNumberOfElements(selectors.ticketsIndex.searchResult, 1) - .countSearchResults(selectors.ticketsIndex.searchResult) + .countElement(selectors.ticketsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/ticket-module/02_delete_ticket_expeditions.spec.js b/e2e/paths/ticket-module/02_delete_ticket_expeditions.spec.js index 38900da9d..fc09dbd62 100644 --- a/e2e/paths/ticket-module/02_delete_ticket_expeditions.spec.js +++ b/e2e/paths/ticket-module/02_delete_ticket_expeditions.spec.js @@ -26,7 +26,7 @@ describe('Ticket', () => { .type(selectors.ticketsIndex.searchTicketInput, 'id:1') .click(selectors.ticketsIndex.searchButton) .waitForNumberOfElements(selectors.ticketsIndex.searchResult, 1) - .countSearchResults(selectors.ticketsIndex.searchResult) + .countElement(selectors.ticketsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/ticket-module/03_list_sale.spec.js b/e2e/paths/ticket-module/03_list_sale.spec.js index bce2c5f4e..783f7fd47 100644 --- a/e2e/paths/ticket-module/03_list_sale.spec.js +++ b/e2e/paths/ticket-module/03_list_sale.spec.js @@ -28,7 +28,7 @@ describe('Ticket', () => { .type(selectors.ticketsIndex.searchTicketInput, 'id:1') .click(selectors.ticketsIndex.searchButton) .waitForNumberOfElements(selectors.ticketsIndex.searchResult, 1) - .countSearchResults(selectors.ticketsIndex.searchResult) + .countElement(selectors.ticketsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); diff --git a/e2e/paths/ticket-module/04_create_ticket_packages.spec.js b/e2e/paths/ticket-module/04_create_ticket_packages.spec.js index 11fefba38..6bea2eedc 100644 --- a/e2e/paths/ticket-module/04_create_ticket_packages.spec.js +++ b/e2e/paths/ticket-module/04_create_ticket_packages.spec.js @@ -28,7 +28,7 @@ // .type(selectors.ticketsIndex.searchTicketInput, 'id:1') // .click(selectors.ticketsIndex.searchButton) // .waitForNumberOfElements(selectors.ticketsIndex.searchResult, 1) -// .countSearchResults(selectors.ticketsIndex.searchResult) +// .countElement(selectors.ticketsIndex.searchResult) // .then(result => { // expect(result).toEqual(1); // }); diff --git a/e2e/paths/ticket-module/05_create_new_tracking_state.spec.js b/e2e/paths/ticket-module/05_create_new_tracking_state.spec.js index ac7addc2a..88a553af1 100644 --- a/e2e/paths/ticket-module/05_create_new_tracking_state.spec.js +++ b/e2e/paths/ticket-module/05_create_new_tracking_state.spec.js @@ -28,7 +28,7 @@ describe('Ticket', () => { .type(selectors.ticketsIndex.searchTicketInput, 'id:1') .click(selectors.ticketsIndex.searchButton) .waitForNumberOfElements(selectors.ticketsIndex.searchResult, 1) - .countSearchResults(selectors.ticketsIndex.searchResult) + .countElement(selectors.ticketsIndex.searchResult) .then(result => { expect(result).toEqual(1); }); @@ -77,7 +77,7 @@ describe('Ticket', () => { }); }); - it('should access to the create state view by clicking the create floating button', () => { + it('should again access to the create state view by clicking the create floating button', () => { return nightmare .click(selectors.ticketTracking.createStateButton) .wait(selectors.createStateView.stateInput)