diff options
Diffstat (limited to 'cypress_test/integration_tests/desktop/writer/file_properties_spec.js')
-rw-r--r-- | cypress_test/integration_tests/desktop/writer/file_properties_spec.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cypress_test/integration_tests/desktop/writer/file_properties_spec.js b/cypress_test/integration_tests/desktop/writer/file_properties_spec.js index a636ce7faa..43d80da490 100644 --- a/cypress_test/integration_tests/desktop/writer/file_properties_spec.js +++ b/cypress_test/integration_tests/desktop/writer/file_properties_spec.js @@ -14,10 +14,10 @@ describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'File Property Tests', func it('Add File Description.', function() { writerHelper.openFileProperties(); cy.cGet('#tabcontrol-2').click(); - helper.waitUntilIdle('#title.ui-edit'); - cy.cGet('#title.ui-edit').type('New Title'); + helper.waitUntilIdle('#title-input.ui-edit'); + cy.cGet('#title-input.ui-edit').type('New Title'); // sometimes it doesn't finish typing - helper.waitUntilIdle('#title.ui-edit'); + helper.waitUntilIdle('#title-input.ui-edit'); // Fixme: type now char by char because we receive update messages // can be reverted after core update @@ -33,7 +33,7 @@ describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'File Property Tests', func writerHelper.openFileProperties(); cy.cGet('#tabcontrol-2').click(); - cy.cGet('#title.ui-edit').should('have.value', 'New Title'); + cy.cGet('#title-input.ui-edit').should('have.value', 'New Title'); cy.cGet('#comments.ui-textarea').should('have.value', 'New'); cy.cGet('#cancel.ui-pushbutton').click(); @@ -49,14 +49,14 @@ describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'File Property Tests', func helper.waitUntilIdle('#namebox'); cy.cGet('#namebox select').select('Mailstop'); - helper.waitUntilIdle('#valueedit'); - cy.cGet('#valueedit').type('123 Address'); + helper.waitUntilIdle('#value-input'); + cy.cGet('#valueedit-input').type('123 Address'); cy.cGet('#ok.ui-pushbutton').click(); // Check property saved writerHelper.openFileProperties(); cy.cGet('#customprops-tab-label').click(); - cy.cGet('#valueedit.ui-edit').should('have.value', '123 Address'); + cy.cGet('#valueedit-input.ui-edit').should('have.value', '123 Address'); cy.cGet('#cancel.ui-pushbutton').click(); }); @@ -85,7 +85,7 @@ describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'File Property Tests', func // Check property saved writerHelper.openFileProperties(); cy.cGet('#customprops-tab-label').click(); - cy.cGet('#duration.ui-edit').should('have.value', '- Y: 1 M: 0 D: 2 H: 0 M: 0 S: 3'); + cy.cGet('#duration-input.ui-edit').should('have.value', '- Y: 1 M: 0 D: 2 H: 0 M: 0 S: 3'); cy.cGet('#cancel.ui-pushbutton').click(); }); @@ -99,7 +99,7 @@ describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'File Property Tests', func helper.waitUntilIdle('#namebox'); cy.cGet('#namebox select').select('Telephone number'); helper.waitUntilIdle('#typebox'); - cy.cGet('#typebox select').select('Yes or no'); + cy.cGet('#typebox-input select').select('Yes or no'); helper.waitUntilIdle('#yes-input'); cy.cGet('#yes-input').check(); cy.cGet('#ok.ui-pushbutton').click(); |