Skip to content

shivam855/cypress

Repository files navigation

CYPRESS

For Scheduling a Job On Given Interval https://crontab-generator.org/

** For Domain Issues ** https://download.cypress.io/desktop/10.7.0 CYPRESS_INSTALL_BINARY=0 npm install CYPRESS_INSTALL_BINARY=/c/****/cypress.zip npm install cypress

For web pack issue we need this In Index File : const cucumber = require("cypress-cucumber-preprocessor").default; module.exports = (on, config) => { on("file:preprocessor", cucumber()); } In cypress file : setupNodeEvents(on, config) { return require('./cypress/plugins/index.js')(on, config) }, For Feature File we want read :
specPattern: 'cypress/integration/**//.{feature,features}',

For enabling the vs code to redirect from feature to stepDefination use this code.... {    "cucumberautocomplete.steps": [      "./cypress/stepDefinitions//*.js",    ],    "cucumberautocomplete.syncfeatures": "./cypress/integration/features//*.feature",    "cucumberautocomplete.strictGherkinCompletion": true,    "cucumberautocomplete.smartSnippets": true,    "cucumberautocomplete.customParameters": [      {        "parameter": "{ab}",        "value": "(a|b)"      },    ],    "editor.quickSuggestions": {      "comments": false,      "strings": true,      "other": true    },    "editor.codeActionsOnSave": null,    "workbench.colorTheme": "Default Light+"  }

Cypress.on("uncaught:exception", (err, runnable) => {
return false;

});

cy.get('.calendar-open-button').click(); cy.get('.calendar-year-selector').then(($year) => { if ($year.text() !== targetYear) { cy.get('.calendar-next-year').click(); } });

cy.get('.calendar-month-selector').then(($month) => {
  if ($month.text() !== targetMonth) {
    cy.get('.calendar-next-month').click(); 
  }
});


cy.get('.calendar-day').contains('15').click();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •