Skip to content

Commit

Permalink
Update custom field test.
Browse files Browse the repository at this point in the history
  • Loading branch information
JakePT committed Sep 12, 2023
1 parent 3c5c48a commit 38aecdb
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/cypress/integration/features/search/weighting.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,9 @@ describe('Post Search Feature - Weighting Functionality', () => {
.closest('fieldset')
.find('input[type="number"]')
.clearThenType(100);
cy.get('@panel')
.find('select')
.should('contain', '_my_custom_field')
.select('_my_custom_field');
cy.get('@panel').find('button').contains('Add field').click();
cy.get('@panel').find('button').contains('Metadata').click();
cy.get('@panel').find('input[type="text"]').clearThenType('_my_custom_field');
cy.get('@panel').find('button').contains('Add').click();
cy.get('@panel')
.find('fieldset')
.contains('_my_custom_field')
Expand Down

0 comments on commit 38aecdb

Please sign in to comment.