Skip to content

Commit

Permalink
feat(plex): actualiza version de angular (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
ma7payne committed Sep 27, 2024
1 parent d01eeb1 commit e563618
Show file tree
Hide file tree
Showing 21 changed files with 7,875 additions and 8,027 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.21.1'
- name: Cache node modules
uses: actions/cache@v2
env:
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.21.1'
- name: Cache node modules
uses: actions/cache@v2
env:
Expand Down
14 changes: 9 additions & 5 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": true,
"outputPath": "dist/app",
"index": "src/demo/index.html",
"main": "src/demo/main.ts",
Expand All @@ -27,7 +26,13 @@
],
"scripts": [
"./node_modules/intro.js/intro.js"
]
],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
Expand All @@ -40,9 +45,7 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
Expand All @@ -53,7 +56,8 @@
}
]
}
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
Expand Down
24 changes: 0 additions & 24 deletions cypress/integration/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,28 +79,4 @@ context('<plex-text>', () => {
cy.toast('success');

});

it('plex-text extend quill-editor', () => {

cy.plexTextArea('name="contenido1"').find('.ql-fullscreen').click();
cy.toast('success');

});

it('plex-text multiline', () => {

// Editor texto simple
cy.plexTextArea('name="multi"', 'Este\nTexto\nEstá\nCortado en cuatro');

// HTML Editor con texto en negrita
cy.plexTextArea('name="contenido1"', '<strong>Este\nTexto\nEstá\nEn negrita</strong>')
cy.get('.ql-container.ql-snow .ql-editor p').should('have', '<strong>');

// HTML Editor con height = 200
cy.plexTextArea('name="contenido2"').find('.ql-container.ql-snow').should(($el) => {
expect($el).to.have.css('height', '200px');
})
});


});
Loading

0 comments on commit e563618

Please sign in to comment.