Skip to content

Commit

Permalink
Revert changes to standard tests
Browse files Browse the repository at this point in the history
Ill make a different pull request for these
  • Loading branch information
Joossensei authored and bobdenotter committed Nov 28, 2021
1 parent 922d2b2 commit 3dfd45a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/cypress/integration/edit_record_1_field.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ describe('As an Admin, I want to reset an image field', () => {
cy.get('a[id="media-tab"]').click();

cy.get("label[for=field-image]").should('contain', 'Image');
cy.get('input[name="fields[image][filename]"]').should('have.value', 'stock/image_40862.jpg');
cy.get('input[name="fields[image][alt]"]').should('have.value', 'Voluptate nemo quam natus harum numquam.');
cy.get('input[name="fields[image][filename]"]').should('have.value', 'foal.jpg');
cy.get('input[name="fields[image][alt]"]').should('have.value', 'Ex veniam repellat ipsam autem delectus.');

cy.get('button[class="btn btn-sm btn-hidden-danger"]').should('contain', 'Remove').eq(0).click();
cy.get('input[name="fields[image][filename]"]').should('have.value', '');
Expand Down
2 changes: 0 additions & 2 deletions tests/cypress/support/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ Cypress.Commands.add('login', (username = 'admin', password = 'admin%1') => {

cy.url().should('include', '/bolt/login');

cy.get('input[name="login[username]"]').type('{selectall}{backspace}');

cy.get('input[name="login[username]"]').type(username);
cy.get('input[name="login[password]"]').type(password + '{enter}');

Expand Down

0 comments on commit 3dfd45a

Please sign in to comment.