Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
burhandodhy committed Oct 20, 2023
1 parent d3aefa1 commit 3046fb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"lint-release": "npm install && composer install && npm run lint",
"lint-js": "10up-toolkit lint-js assets/js tests/cypress",
"lint-php": "composer run lint",
"format-js": "10up-toolkit format-js assets/js tests/cypress",
"format-style": "10up-toolkit lint-style --fix",
"format-js": "10up-toolkit format-js assets/js",
"lint": "npm run lint-style && npm run lint-js && npm run lint-php",
"build:docs": "rm -rf hook_docs && jsdoc -c hookdoc-conf.json elasticpress.php includes",
"build:zip": "./bin/build-zip.sh",
Expand Down
2 changes: 1 addition & 1 deletion tests/cypress/integration/features/facets.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ describe('Facets Feature', { tags: '@slow' }, () => {
/**
* Verify the custom date range
*/
cy.get('@block').find('.ep-date-range-custom-radio').click();
cy.get('@block').find('.ep-facet-date-option').last().find('label').click();

cy.get('@block').find("[name='ep_date_filter_from']").type('2023-01-01');
cy.get('@block').find("[name='ep_date_filter_to']").type('2023-12-31');
Expand Down

0 comments on commit 3046fb9

Please sign in to comment.