major: core upgrade

This commit is contained in:
Jean-Baptiste Pasquier 2021-02-08 14:16:29 +01:00
parent db3243db69
commit 1cb98d4095
2 changed files with 9 additions and 9 deletions

View File

@ -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 => {

View File

@ -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