Update test and upgrade all dependencies

master
Baptiste Bech 4 years ago
parent 7380db5998
commit 09d7c4a9cd
  1. 4
      cypress/integration/apside.spec.ts
  2. 2
      cypress/support/common/action.spec.ts
  3. 2364
      package-lock.json
  4. 28
      package.json

@ -17,7 +17,7 @@ describe('Test Page d\'accueil APSIDE .com', () => {
});
it('Visité et trouver APSIDE TOURS ', function() {
it.only('Visité et trouver APSIDE TOURS ', function() {
// Se rendre sur le path "/"" du site configuré dans ./cypress/config/cypress.{env}.json
cy.visit('/');
@ -25,7 +25,7 @@ describe('Test Page d\'accueil APSIDE .com', () => {
//Click sur le boutton de la premiere vignette d'apside recherche
// ATTENTION ICI si la recherche ne remonte pas dans le même orde que lors de mon test le test echoura
cy.get('.first > .lanceurBlog > .texte > .intro > .btn-plus2').click();
cy.get('.first > .lanceurBlog > .texte > .intro > .btn-plus2').first().click();
//------------ ASSERTION ------------//
validators.titreBigBleuValidator('Apside Tours');

@ -13,7 +13,7 @@ export function openSearchBar() {
export function search(query: string) {
openSearchBar();
// Tappe "TOURS" dans l'input de recherche
cy.get('#search').type(query);
cy.get('#s').type(query);
cy.log('Tappe la recherche: ' + query);
// Clicker sur le bouton d'action de recherch
cy.get('#search_btn').click();

2364
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -27,21 +27,21 @@
]
},
"devDependencies": {
"@cypress/code-coverage": "^3.8.1",
"@testdeck/mocha": "^0.1.0",
"@types/classnames": "~2.2.10",
"@types/mocha": "^8.0.3",
"@types/node": "~12.0.10",
"cypress": "^5.2.0",
"@cypress/code-coverage": "^3.8.8",
"@testdeck/mocha": "^0.1.2",
"@types/classnames": "~2.2.11",
"@types/mocha": "^8.2.0",
"@types/node": "~14.14.20",
"cypress": "^6.2.1",
"cypress-multi-reporters": "^1.4.0",
"faker": "~4.1.0",
"mocha": "^8.1.3",
"mochawesome": "^6.1.1",
"mochawesome-merge": "^4.1.0",
"faker": "~5.1.0",
"mocha": "^8.2.1",
"mochawesome": "^6.2.1",
"mochawesome-merge": "^4.2.0",
"mochawesome-report-generator": "^5.1.0",
"tslint": "~5.18.0",
"tslint-react": "~4.2.0",
"typescript": "3.8.3",
"typescript-tslint-plugin": "~0.5.5"
"tslint": "~6.1.3",
"tslint-react": "~5.0.0",
"typescript": "4.1.3",
"typescript-tslint-plugin": "~1.0.1"
}
}

Loading…
Cancel
Save