mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Rename data-e2e to data-test
This commit is contained in:
@@ -16,8 +16,8 @@ describe('Homepage', () => {
|
||||
|
||||
it('should have a working search box', () => {
|
||||
const queryString = 'test';
|
||||
cy.get('[data-e2e="search-box"]').type(queryString);
|
||||
cy.get('[data-e2e="search-button"]').click();
|
||||
cy.get('[data-test="search-box"]').type(queryString);
|
||||
cy.get('[data-test="search-button"]').click();
|
||||
cy.url().should('include', '/search');
|
||||
cy.url().should('include', 'query=' + encodeURI(queryString));
|
||||
});
|
||||
|
Reference in New Issue
Block a user