diff --git a/cypress/integration/list-users.spec.js b/cypress/integration/list-users.spec.js index ddd848e..c892ebb 100644 --- a/cypress/integration/list-users.spec.js +++ b/cypress/integration/list-users.spec.js @@ -85,8 +85,8 @@ context('List Users Browser Testing', () => { }); }); it('should filter the listing by job description', () => { - cy.get(filtersQuery.join(' ') + '[name="member-job"]').clear().type(listingJob); - cy.get(filtersQuery.join(' ') + '[name="member-job"]').should('have.value', listingJob); + cy.get(filtersQuery.join(' ') + '[name="profile.job"]').clear().type(listingJob); + cy.get(filtersQuery.join(' ') + '[name="profile.job"]').should('have.value', listingJob); }); it('should get filtered listing count', () => { cy.get(listingCountQuery.join(' ')).invoke('text').then(text => { @@ -94,8 +94,8 @@ context('List Users Browser Testing', () => { }); }); it('should clear the job description filter', () => { - cy.get(filtersQuery.join(' ') + '[name="member-job"]').clear(); - cy.get(filtersQuery.join(' ') + '[name="member-job"]').should('have.value', ''); + cy.get(filtersQuery.join(' ') + '[name="profile.job"]').clear(); + cy.get(filtersQuery.join(' ') + '[name="profile.job"]').should('have.value', ''); }); it('should get previous listing count', () => { cy.get(listingCountQuery.join(' ')).invoke('text').then(text => { @@ -103,8 +103,8 @@ context('List Users Browser Testing', () => { }); }); it('should filter the listing by city', () => { - cy.get(filtersQuery.join(' ') + '[name="member-city"]').clear().type(listingCity); - cy.get(filtersQuery.join(' ') + '[name="member-city"]').should('have.value', listingCity); + cy.get(filtersQuery.join(' ') + '[name="profile.city"]').clear().type(listingCity); + cy.get(filtersQuery.join(' ') + '[name="profile.city"]').should('have.value', listingCity); }); it('should get filtered listing count', () => { cy.get(listingCountQuery.join(' ')).invoke('text').then(text => { @@ -112,8 +112,8 @@ context('List Users Browser Testing', () => { }); }); it('should clear the city filter', () => { - cy.get(filtersQuery.join(' ') + '[name="member-city"]').clear(); - cy.get(filtersQuery.join(' ') + '[name="member-city"]').should('have.value', ''); + cy.get(filtersQuery.join(' ') + '[name="profile.city"]').clear(); + cy.get(filtersQuery.join(' ') + '[name="profile.city"]').should('have.value', ''); }); it('should get previous listing count', () => { cy.get(listingCountQuery.join(' ')).invoke('text').then(text => { diff --git a/src/dependencies.pug b/src/dependencies.pug index e4b3d12..0ce37fc 100644 --- a/src/dependencies.pug +++ b/src/dependencies.pug @@ -34,7 +34,7 @@ if endpoints.get //- script(type="module" src="/lib/solid-directory/dist/index.js" defer) if endpoints.get.dashboards - script(type="module" src="https://cdn.skypack.dev/@startinblox/component-dashboard@3.0" defer) + script(type="module" src="https://cdn.skypack.dev/@startinblox/component-dashboard@2.0" defer) //- script(type="module" src="/lib/solid-dashboard/dist/index.js" defer) if endpoints.get.users