Pārlūkot izejas kodu

update and config file for cypress

philippe 6 gadus atpakaļ
vecāks
revīzija
de240d9caa

+ 2 - 2
functionnal_tests/app_html-document/operation_create_html-document.js Parādīt failu

@@ -33,8 +33,8 @@ describe('operation :: workspace > create_new > html-document', function () {
33 33
     it ('all content > header button ', function () {
34 34
         var titre2='all content button'
35 35
         cy.url().should('include', '/workspaces/1/contents')
36
-        cy.get('.workspace__header__btnaddcontent').should('be.visible')
37
-        cy.get('.workspace__header__btnaddcontent').click()
36
+        cy.get('.workspace__header__btnaddcontent__label').should('be.visible')
37
+        cy.get('.workspace__header__btnaddcontent__label').click()
38 38
         cy.get('.workspace__header__btnaddcontent__setting div:nth-child(4).subdropdown__link').click()
39 39
         cy.get('.createcontent .createcontent__contentname').should('be.visible')
40 40
         cy.get('.createcontent .createcontent__form__input').should('have.attr', 'placeholder')

+ 5 - 0
functionnal_tests/cypress.json Parādīt failu

@@ -0,0 +1,5 @@
1
+{
2
+  "baseUrl": "http://localhost:6543",
3
+  "viewportWidth": 1280,
4
+  "viewportHeight": 1024,
5
+}