major: startinblox-feature-requests#181
This commit is contained in:
@ -33,9 +33,9 @@ context('Retire Channel Browser Testing', () => {
|
||||
cy.get(menuQuery.join(' '))
|
||||
.invoke('attr', 'data-src')
|
||||
.then(url => cy.encodeUrl(url).then(id => {
|
||||
cy.visit('/circle/@' + id + '/circle-information/circle-edit');
|
||||
cy.visit('/circles/@' + id + '/circles-information/circles-edit');
|
||||
cy.location().should((loc) => {
|
||||
expect(loc.pathname).to.eq('/circle/@' + id + '/circle-information/circle-edit');
|
||||
expect(loc.pathname).to.eq('/circles/@' + id + '/circles-information/circles-edit');
|
||||
});
|
||||
}));
|
||||
});
|
||||
@ -50,11 +50,11 @@ context('Retire Channel Browser Testing', () => {
|
||||
.invoke('attr', 'data-src')
|
||||
.then(url => cy.encodeUrl(url).then(id => {
|
||||
cy.location().should((loc) => {
|
||||
expect(loc.pathname).to.eq('/circle/@' + id + '/circle-information/circle-edit');
|
||||
expect(loc.pathname).to.eq('/circles/@' + id + '/circles-information/circles-edit');
|
||||
});
|
||||
}));
|
||||
});
|
||||
it('should check if chennel was retired', () => {
|
||||
it('should check if channel was retired', () => {
|
||||
cy.get(menuCountQuery.join(' ')).its('length').should(length => {
|
||||
expect(length).to.eq(channelsLength - 1);
|
||||
});
|
||||
|
Reference in New Issue
Block a user